|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
info.sswap.api.model.ValidationException
public class ValidationException
An exception that is thrown when a validation fails in SSWAP (i.e., it is found during the validation that the underlying RDF data does not conform to the SSWAP syntax or requirements.)
Constructor Summary | |
---|---|
ValidationException()
Creates an empty ValidationException with no message. |
|
ValidationException(java.lang.String message)
Creates a ValidationException with a message. |
|
ValidationException(java.lang.String message,
java.lang.Throwable cause)
Creates a ValidationException with both a message and an underlying exception that caused this exception to be generated. |
|
ValidationException(java.lang.Throwable cause)
Creates a ValidationException with an underlying exception that caused this exception to be generated. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ValidationException()
public ValidationException(java.lang.String message)
message
- the message describing why the validation failed.public ValidationException(java.lang.Throwable cause)
cause
- the underlying exceptionpublic ValidationException(java.lang.String message, java.lang.Throwable cause)
message
- the message describing why the validation failedcause
- the underlying exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |