home *** CD-ROM | disk | FTP | other *** search
Java Source | 1996-12-09 | 1.6 KB | 65 lines |
- /*
- * WebServiceException.java
- *
- *
- * Copyright 1996 Sybase, Inc. All rights reserved.
- */
-
- /**
- * <P>The WebServiceException class provides information on an
- * errors when accessing a web server
- *
- * <P>Each WebServiceException provides the following information:
- * <pre>
- * - a string describing the error.
- * This is the Java Exception message, and is
- * available with the getMessage() method
- * - other error values, to be determined
- * </pre>
- */
-
- public class WebServiceException extends java.lang.Exception
- //**********************************************************
- {
- //-------------------------------------------------------------
- // Constructor
- //-------------------------------------------------------------
-
- /**
- * Contructs a new WebServiceException object with
- * the specifed message.
- * @param reason description of the exception
- */
-
- public WebServiceException(String reason)
- //***************************************
- {
- _reason = reason;
- }
-
- //-------------------------------------------------------------
- // Properties
- //-------------------------------------------------------------
-
- /**
- * Returns the error message for this exception
- */
-
- public String getMessage()
- //************************
- {
- return _reason;
- }
-
-
-
- //-------------------------------------------------------------
- // Data
- //-------------------------------------------------------------
-
- String _reason;
- }
-
-
-
-