Package com.onwbp.adaptation
Class AdaptationError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.onwbp.adaptation.AdaptationError
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnavailableContentError
public abstract class AdaptationError extends RuntimeException
This abstract class is the superclass of unchecked exceptions thrown when an dataset has an inconsistency.Such a failure only happens if a dataset has not been properly checked before being used (see method
Adaptation.getValidationReport()
). It is hence considered to be a precondition failure.- See Also:
Adaptation.getValidationReport()
-
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-