net.dpml.transit
Class EnvironmentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.dpml.transit.EnvironmentException
All Implemented Interfaces:
Serializable

public class EnvironmentException
extends RuntimeException

A simple wrapper exception around exceptions that could occur while accessing environment parameters.

Version:
1.0.3
Author:
Digital Product Meta Library
See Also:
Serialized Form

Method Summary
 Throwable getCause()
          Return the causal exception.
 String getMessage()
          Prepends variable name to the base message.
 String getVariable()
          Gets the variable that was to be accessed.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getVariable

public String getVariable()
Gets the variable that was to be accessed.

Returns:
the value of the variable

getCause

public Throwable getCause()
Return the causal exception.

Overrides:
getCause in class Throwable
Returns:
the exception that caused this exception (possibly null)

getMessage

public String getMessage()
Prepends variable name to the base message.

Overrides:
getMessage in class Throwable
Returns:
the exception message
See Also:
Throwable.getMessage()