Be a subclass of java.lang.RuntimeException
These requirements cannot be expressed in the Java interface mechanism.
These requirements stem from ObjectStore's use of
Class.newInstance() to allocate instances of these objects.
-
getMessage()
- Returns the message that was associated with the exception by
the setMessage() method.
-
setMessage(String)
- Sets the message associated with the exception.
setMessage
public abstract void setMessage(String detailMessage)
- Sets the message associated with the exception.
- Parameters:
- detailMessage - A string that contains the message to
display when the exception is thrown.
getMessage
public abstract String getMessage()
- Returns the message that was associated with the exception by
the setMessage() method.
Copyright © 1996, 1997, 1998 Object Design, Inc. All rights reserved.