package ora.jwsnut.chapter6.contextbookservice;
/**
* A service-specific exception that reports
* problems while executing methods of the context-handling book
* web service.
*/
public class ContextBookServiceException extends Exception {
/**
* Constructs a <code>ContextBookServiceException </code> with
* an associated message.
* @param message a message describing the reason for
* the exception.
*/
public ContextBookServiceException(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();
}
} |