org.orbeon.oxf.common
Class ValidationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.orbeon.oxf.common.OXFException
                  extended byorg.orbeon.oxf.common.ValidationException
All Implemented Interfaces:
Serializable

public class ValidationException
extends OXFException

See Also:
Serialized Form

Nested Class Summary
 
Nested classes 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 getAllLocationData()
           
static List 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
 
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

ValidationException

public ValidationException(String message,
                           LocationData locationData)

ValidationException

public ValidationException(Throwable throwable,
                           LocationData locationData)

ValidationException

public ValidationException(String message,
                           Throwable throwable,
                           LocationData locationData)
Method Detail

getAllLocationData

public static List getAllLocationData(Throwable throwable)
Return all the LocationData information for that throwable


getRootLocationData

public static LocationData getRootLocationData(Throwable throwable)

wrapException

public static ValidationException wrapException(Throwable e,
                                                LocationData locationData)

addLocationData

public void addLocationData(LocationData locationData)

getLocationData

public LocationData getLocationData()

getAllLocationData

public List getAllLocationData()

getSimpleMessage

public String getSimpleMessage()

getMessage

public String getMessage()
Overrides:
getMessage in class OXFException