Prism.exception
Class PrismException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by Prism.exception.PrismException
All Implemented Interfaces:
java.io.Serializable

public class PrismException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
PrismException()
          Creates a new PrismException with no detail message.
PrismException(java.lang.String message)
          Creates a new PrismException with the given detail message.
 
Method Summary
 java.lang.String getMessage()
          Gets the detail message for this exception.
 java.lang.String toString()
          Gets a String representation of this error.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrismException

public PrismException()
Creates a new PrismException with no detail message.


PrismException

public PrismException(java.lang.String message)
Creates a new PrismException with the given detail message.

Parameters:
message - Detail message.
Method Detail

getMessage

public java.lang.String getMessage()
Gets the detail message for this exception.

Overrides:
getMessage in class java.lang.Throwable
Returns:
Detail message.

toString

public java.lang.String toString()
Gets a String representation of this error.

Overrides:
toString in class java.lang.Throwable
Returns:
String representation of this error.