com.cometway.util
Class ClassFactoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.cometway.util.ClassFactoryException
All Implemented Interfaces:
java.io.Serializable

public class ClassFactoryException
extends java.lang.Exception

This exception is thrown by ClassFactoryInterface.createInstance when there is a problem.

See Also:
Serialized Form

Constructor Summary
ClassFactoryException(java.lang.String message)
          Constructor for this exception.
ClassFactoryException(java.lang.String message, java.lang.Exception originalException)
          Constructor for this exception.
 
Method Summary
 java.lang.Exception getOriginalException()
          Returns a reference to the orignal exception associated with this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

ClassFactoryException

public ClassFactoryException(java.lang.String message)
Constructor for this exception.

Parameters:
message - Message associated with this exception.

ClassFactoryException

public ClassFactoryException(java.lang.String message,
                             java.lang.Exception originalException)
Constructor for this exception.

Parameters:
message - Message associated with this exception.
originalException - The original exception associated with this exception.
Method Detail

getOriginalException

public java.lang.Exception getOriginalException()
Returns a reference to the orignal exception associated with this exception.