com.bowstreet.webapp.engine
Class WebAppRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.bowstreet.util.WrappedException
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. |
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 |
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 exceptionmsg
- The detailed exception message
Copyright © 2009 IBM. All Rights Reserved.