public class ValidationException extends SchedulerException
This may be used to indicate failures in metadata object validations before persisting into the metadata repository. It may also be used for failed validations during runtime service or metadata service operations.
Constructor and Description |
---|
ValidationException()
Default constructor
|
ValidationException(String msg)
Constructor with a detailed message.
|
ValidationException(String msg,
boolean isRefIntegrityViolation)
Constructor with a detailed message.
|
ValidationException(String msg,
Throwable cause)
Constructor to create the instance with an message and cause.
|
ValidationException(Throwable cause)
Constructor that creates the instance based on a cause.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isRefIntegrityException()
Indicates if this exception is related to violation of
referential integrity.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ValidationException()
public ValidationException(String msg)
msg
- the detailed message associated with this exceptionpublic ValidationException(String msg, boolean isRefIntegrityViolation)
msg
- the detailed message associated with this exceptionisRefIntegrityViolation
- true
if this exception is
related to violation of refrential integrity of database.public ValidationException(Throwable cause)
cause
- the underlying cause for exception