|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.orbeon.oxf.common.OXFException
org.orbeon.oxf.common.ValidationException
public class ValidationException
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.orbeon.oxf.common.OXFException |
---|
OXFException.StackTraceElement |
Constructor Summary | |
---|---|
ValidationException(String message,
LocationData locationData)
|
|
ValidationException(String message,
Throwable throwable,
LocationData locationData)
|
|
ValidationException(Throwable throwable,
LocationData locationData)
|
Method Summary | |
---|---|
void |
addLocationData(LocationData locationData)
|
List<LocationData> |
getAllLocationData()
|
static List<LocationData> |
getAllLocationData(Throwable throwable)
Return all the LocationData information for that throwable |
LocationData |
getLocationData()
|
String |
getMessage()
|
static LocationData |
getRootLocationData(Throwable throwable)
|
String |
getSimpleMessage()
|
static ValidationException |
wrapException(Throwable e,
LocationData locationData)
|
Methods inherited from class org.orbeon.oxf.common.OXFException |
---|
getNestedException, getNestedException, getRootThrowable, getStackTraceElements, printStackTrace, printStackTrace, throwableToString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ValidationException(String message, LocationData locationData)
public ValidationException(Throwable throwable, LocationData locationData)
public ValidationException(String message, Throwable throwable, LocationData locationData)
Method Detail |
---|
public static List<LocationData> getAllLocationData(Throwable throwable)
public static LocationData getRootLocationData(Throwable throwable)
public static ValidationException wrapException(Throwable e, LocationData locationData)
public void addLocationData(LocationData locationData)
public LocationData getLocationData()
public List<LocationData> getAllLocationData()
public String getSimpleMessage()
public String getMessage()
getMessage
in class OXFException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |