home *** CD-ROM | disk | FTP | other *** search
Java Source | 1996-12-09 | 1.5 KB | 62 lines |
- /*
- * DynamoException.java
- *
- *
- * Copyright 1996 Sybase, Inc. All rights reserved.
- */
-
- /**
- * <P>The DynamoException class provides information on an error accessing
- * the NetImpact Dynamo web server
- *
- * <P>Each DynamoException 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 DynamoException extends java.lang.Exception
- //******************************************************
- {
-
- //-------------------------------------------------------------
- // Constructor
- //-------------------------------------------------------------
-
- /**
- * Contructs a DynamoException
- * @param reason description of the exception
- */
-
- public DynamoException(String reason)
- //***********************************
- {
- _reason = reason;
- }
-
- //-------------------------------------------------------------
- // Properties
- //-------------------------------------------------------------
-
- /**
- * Returns the error message
- */
-
- public String getMessage()
- //************************
- {
- return _reason;
- }
-
- //-------------------------------------------------------------
- // Data
- //-------------------------------------------------------------
-
- String _reason;
- }
-
-
-
-