com.bowstreet.webapp.engine
Class WebAppRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.bowstreet.util.WrappedException
                  extended by com.bowstreet.webapp.engine.WebAppRuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FieldFormatterTranslationError

public class WebAppRuntimeException
extends WrappedException

Exception Class to handle WebApp runtime exceptions, which can be wrapped in this exception. This is used internally by the factory to re-throw non-runtime exceptions. If constructed with target exception the printStackTrace(..), getMessage() and toString() methods will use the target exception to produce their results.

See Also:
Serialized Form

Constructor Summary
WebAppRuntimeException(java.lang.String msg)
          Constructs a WebAppRuntimeException with a message string.
WebAppRuntimeException(java.lang.Throwable target)
          Constructs a WebAppRuntimeException with a target exception.
WebAppRuntimeException(java.lang.Throwable target, java.lang.String msg)
          Constructs a WebAppRuntimeException with a message string and a target exception.
 
Method Summary
 
Methods inherited from class com.bowstreet.util.WrappedException
getMessage, getProperty, getTargetException, printStackTrace, printStackTrace, printStackTrace, putProperty, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebAppRuntimeException

public WebAppRuntimeException(java.lang.String msg)
Constructs a WebAppRuntimeException with a message string.

Parameters:
msg - The detailed exception message

WebAppRuntimeException

public WebAppRuntimeException(java.lang.Throwable target)
Constructs a WebAppRuntimeException with a target exception.

Parameters:
target - The root target exception

WebAppRuntimeException

public WebAppRuntimeException(java.lang.Throwable target,
                              java.lang.String msg)
Constructs a WebAppRuntimeException with a message string and a target exception.

Parameters:
target - The root target exception
msg - The detailed exception message


Copyright © 2009 IBM. All Rights Reserved.