home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
sybase
/
starbuck
/
template.z
/
DynamoException.java
< prev
next >
Wrap
Text File
|
1996-12-09
|
2KB
|
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;
}