com.opensymphony.webwork
Class WebWorkException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.opensymphony.xwork.XworkException
                  extended by com.opensymphony.webwork.WebWorkException
All Implemented Interfaces:
Locatable, Serializable

public class WebWorkException
extends XworkException

WebWorkException A generic runtime exception that optionally contains Location information

Version:
$Id: WebWorkException.java 2647 2006-07-13 21:51:16Z rainerh $
Author:
Rainer Hermanns
See Also:
Serialized Form

Constructor Summary
WebWorkException()
          Constructs a WebWorkException with no detail message.
WebWorkException(String s)
          Constructs a WebWorkException with the specified detail message.
WebWorkException(String s, Object target)
          Constructs a WebWorkException with the specified detail message and target.
WebWorkException(String s, Throwable cause)
          Constructs a WebWorkException with the specified detail message and exception cause.
WebWorkException(String s, Throwable cause, Object target)
          Constructs a WebWorkException with the specified detail message, cause, and target
WebWorkException(Throwable cause)
          Constructs a WebWorkException with the root cause
WebWorkException(Throwable cause, Object target)
          Constructs a WebWorkException with the root cause and target
 
Method Summary
 
Methods inherited from class com.opensymphony.xwork.XworkException
getLocation, getSnippet, getSnippet, getThrowable, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebWorkException

public WebWorkException()
Constructs a WebWorkException with no detail message.


WebWorkException

public WebWorkException(String s)
Constructs a WebWorkException with the specified detail message.

Parameters:
s - the detail message.

WebWorkException

public WebWorkException(String s,
                        Object target)
Constructs a WebWorkException with the specified detail message and target.

Parameters:
s - the detail message.
target - the target of the exception.

WebWorkException

public WebWorkException(Throwable cause)
Constructs a WebWorkException with the root cause

Parameters:
cause - The wrapped exception

WebWorkException

public WebWorkException(Throwable cause,
                        Object target)
Constructs a WebWorkException with the root cause and target

Parameters:
cause - The wrapped exception
target - The target of the exception

WebWorkException

public WebWorkException(String s,
                        Throwable cause)
Constructs a WebWorkException with the specified detail message and exception cause.

Parameters:
s - the detail message.
cause - the wrapped exception

WebWorkException

public WebWorkException(String s,
                        Throwable cause,
                        Object target)
Constructs a WebWorkException with the specified detail message, cause, and target

Parameters:
s - the detail message.
cause - The wrapped exception
target - The target of the exception

WebWork Project Page