FileDocCategorySizeDatePackage
SmallBookServiceException.javaAPI DocExample763Thu Oct 10 11:27:42 BST 2002ora.jwsnut.chapter6.smallbookservice

SmallBookServiceException.java

package ora.jwsnut.chapter6.smallbookservice;

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