FileDocCategorySizeDatePackage
StrutsException.javaAPI DocExample3207Mon Jul 23 13:26:56 BST 2007org.apache.struts2

StrutsException

public class StrutsException extends com.opensymphony.xwork2.XWorkException implements com.opensymphony.xwork2.util.location.Locatable
A generic runtime exception that optionally contains Location information

Fields Summary
private static final long
serialVersionUID
Constructors Summary
public StrutsException()
Constructs a StrutsException with no detail message.



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

param
s the detail message.

        this(s, null, null);
    
public StrutsException(String s, Object target)
Constructs a StrutsException with the specified detail message and target.

param
s the detail message.
param
target the target of the exception.

        this(s, (Throwable) null, target);
    
public StrutsException(Throwable cause)
Constructs a StrutsException with the root cause

param
cause The wrapped exception

        this(null, cause, null);
    
public StrutsException(Throwable cause, Object target)
Constructs a StrutsException with the root cause and target

param
cause The wrapped exception
param
target The target of the exception

        this(null, cause, target);
    
public StrutsException(String s, Throwable cause)
Constructs a StrutsException with the specified detail message and exception cause.

param
s the detail message.
param
cause the wrapped exception

        this(s, cause, null);
    
public StrutsException(String s, Throwable cause, Object target)
Constructs a StrutsException with the specified detail message, cause, and target

param
s the detail message.
param
cause The wrapped exception
param
target The target of the exception

        super(s, cause, target);
    
Methods Summary