com.cometway.props
Class PropsException

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

public class PropsException
extends java.lang.Exception

This exception is thrown by com.cometway.props classes when there is a problem.

See Also:
Serialized Form

Constructor Summary
PropsException(java.lang.String message)
          Constructor for this exception.
PropsException(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

PropsException

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

Parameters:
message - Message associated with this exception.

PropsException

public PropsException(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.