net.dpml.transit
Class EnvironmentException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bynet.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.0
Author:
The 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.

Returns:
the exception that caused this exception (possibly null)

getMessage

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

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