public class WalkModException extends RuntimeException
| Constructor and Description |
|---|
WalkModException() |
WalkModException(String s)
Constructs a
XWorkException with the specified detail
message. |
WalkModException(String s,
Object target)
Constructs a
XWorkException with the specified detail
message and target. |
WalkModException(String s,
Throwable cause)
Constructs a
XWorkException with the specified detail
message and exception cause. |
WalkModException(String s,
Throwable cause,
Object target)
Constructs a
XWorkException with the specified detail
message, cause, and target |
WalkModException(Throwable cause)
Constructs a
XWorkException with the root cause |
WalkModException(Throwable cause,
Object target)
Constructs a
XWorkException with the root cause and target |
| Modifier and Type | Method and Description |
|---|---|
Location |
getLocation()
Gets the location of the error, if available
|
Throwable |
getThrowable()
Deprecated.
|
String |
toString()
Returns a short description of this throwable object, including the
location.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic WalkModException()
public WalkModException(String s)
XWorkException with the specified detail
message.s - the detail message.public WalkModException(String s, Object target)
XWorkException with the specified detail
message and target.s - the detail message.target - the target of the exception.public WalkModException(Throwable cause)
XWorkException with the root causecause - The wrapped exceptionpublic WalkModException(Throwable cause, Object target)
XWorkException with the root cause and targetcause - The wrapped exceptiontarget - The target of the exceptionpublic WalkModException(String s, Throwable cause)
XWorkException with the specified detail
message and exception cause.s - the detail message.cause - the wrapped exception@Deprecated public Throwable getThrowable()
Throwable.getCause()public Location getLocation()
public String toString()
Copyright © 2017. All rights reserved.