FileDocCategorySizeDatePackage
BookServiceException.javaAPI DocExample749Mon Oct 28 13:52:18 GMT 2002ora.jwsnut.chapter6.serializerbookservice

BookServiceException.java

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

}