public class SADValidationException extends Exception
Modifier and Type | Class and Description |
---|---|
static class |
SADValidationException.ErrorCode |
Constructor and Description |
---|
SADValidationException(SADValidationException.ErrorCode errorCode,
String message)
Constructor assigning the error code and error message.
|
SADValidationException(SADValidationException.ErrorCode errorCode,
String message,
Throwable cause)
Constructor assigning the error code, the error message and the cause of the error.
|
Modifier and Type | Method and Description |
---|---|
SADValidationException.ErrorCode |
getErrorCode()
Returns the error code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SADValidationException(SADValidationException.ErrorCode errorCode, String message)
errorCode
- the error codemessage
- the error messagepublic SADValidationException(SADValidationException.ErrorCode errorCode, String message, Throwable cause)
errorCode
- the error codemessage
- the error messagecause
- the cause of the errorpublic SADValidationException.ErrorCode getErrorCode()
Copyright © 2018 Litsec AB. All rights reserved.