org.orbeon.oxf.common
Class ValidationException

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

public class ValidationException
extends OXFException

See Also:
Serialized Form

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

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<LocationData> 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<LocationData> getAllLocationData()

getSimpleMessage

public String getSimpleMessage()

getMessage

public String getMessage()
Overrides:
getMessage in class OXFException