package ora.jwsnut.chapter6.serializerbookservice;
/**
* A service-specific exception that reports
* problems while executing methods of the book
* web service.
*/
public class BookServiceException extends Exception {
/**
* Constructs a <code>BookServiceException</code> with
* an associated message.
* @param message a message describing the reason for
* the exception.
*/
public BookServiceException(String message) {
super(message);
}
/**
* Gets the message associated with this exception.
* @return the message describing the reason for
* the exception.
*/
public String getMessage() {
return super.getMessage();
}
} |