sofya.ed.semantic
Class FactoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by sofya.ed.semantic.FactoryException
All Implemented Interfaces:
java.io.Serializable

public class FactoryException
extends java.lang.Exception

Exception which indicates that an object factory was unable to satisfy a request for a new object.

Version:
02/04/2005
Author:
Alex Kinneer
See Also:
Serialized Form

Constructor Summary
FactoryException()
          Creates an exception with no message or causing exception.
FactoryException(java.lang.String msg)
          Creates an exception with the specified message and no causing exception.
FactoryException(java.lang.String msg, java.lang.Throwable cause)
          Creates an exception with the specified message and causing exception.
 
Method Summary
 java.lang.Throwable getCause()
          Gets the wrapped exception indicating the original cause for failure.
 
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

FactoryException

public FactoryException()
Creates an exception with no message or causing exception.


FactoryException

public FactoryException(java.lang.String msg)
Creates an exception with the specified message and no causing exception.

Parameters:
msg - Message associated with this exception.

FactoryException

public FactoryException(java.lang.String msg,
                        java.lang.Throwable cause)
Creates an exception with the specified message and causing exception.

Method Detail

getCause

public java.lang.Throwable getCause()
Gets the wrapped exception indicating the original cause for failure.

Overrides:
getCause in class java.lang.Throwable
Returns:
The original exception which caused this exception to be raised, may be null.