FileDocCategorySizeDatePackage
ContextBookServiceException.javaAPI DocExample783Fri Oct 18 14:05:08 BST 2002ora.jwsnut.chapter6.contextbookservice

ContextBookServiceException.java

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();
    }
}