org.teatrove.tea.engine
Class ContextCreationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.reflect.UndeclaredThrowableException
                  extended by org.teatrove.tea.engine.ContextCreationException
All Implemented Interfaces:
Serializable

public class ContextCreationException
extends UndeclaredThrowableException

Intended to wrap any exceptions thrown by createContext when used in the MergingContextSource so exceptions can pass through the getInstance() call of MergedClass.InstanceFactory. Calls are passed to the wrapped Exception leaving this class as a transparent wrapper.

Author:
Jonathan Colwell
See Also:
Serialized Form

Constructor Summary
ContextCreationException(Exception e)
           
ContextCreationException(Exception e, String str)
           
 
Method Summary
 String getMessage()
           
 void printStackTrace()
           
 void printStackTrace(PrintStream ps)
           
 void printStackTrace(PrintWriter pw)
           
 
Methods inherited from class java.lang.reflect.UndeclaredThrowableException
getCause, getUndeclaredThrowable
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContextCreationException

public ContextCreationException(Exception e)

ContextCreationException

public ContextCreationException(Exception e,
                                String str)
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream ps)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter pw)
Overrides:
printStackTrace in class Throwable


Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.