sofya.base.exceptions
Class SofyaError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by sofya.base.exceptions.SofyaError
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ConfigurationError

public class SofyaError
extends java.lang.Error

Error that indicates that a serious internal error has occurred in the Sofya system.

Version:
09/23/2004
Author:
Alex Kinneer
See Also:
Serialized Form

Constructor Summary
SofyaError()
          Creates a new Sofya error.
SofyaError(java.lang.String msg)
          Creates a new Sofya error with a given message.
SofyaError(java.lang.String msg, java.lang.Throwable cause)
          Creates a new Sofya error with a message and encapsulating an original cause for failure.
 
Method Summary
 java.lang.Throwable getCause()
          Gets the exception that is the original source of the error (may be null).
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SofyaError

public SofyaError()
Creates a new Sofya error.


SofyaError

public SofyaError(java.lang.String msg)
Creates a new Sofya error with a given message.

Parameters:
msg - Message describing the error.

SofyaError

public SofyaError(java.lang.String msg,
                  java.lang.Throwable cause)
Creates a new Sofya error with a message and encapsulating an original cause for failure.

Parameters:
msg - Message describing the error.
cause - Exception which indicated the error.
Method Detail

getCause

public java.lang.Throwable getCause()
Gets the exception that is the original source of the error (may be null).

Overrides:
getCause in class java.lang.Throwable