Class MarkingsValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codice.alliance.security.banner.marking.MarkingsValidationException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMarkingsValidationException(String message, String inputMarkings) Constructs a new exception with the specified detail message.MarkingsValidationException(String message, String inputMarkings, Set<ValidationError> errors) -
Method Summary
Modifier and TypeMethodDescriptionReturns the detail message string of this throwable.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MarkingsValidationException
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable).- Parameters:
message- the detail message. The detail message is saved for later retrieval by thegetMessage()method.
-
MarkingsValidationException
public MarkingsValidationException(String message, String inputMarkings, Set<ValidationError> errors)
-
-
Method Details
-
getInputMarkings
-
getErrors
-
getMessage
Returns the detail message string of this throwable.- Overrides:
getMessagein classThrowable- Returns:
- the detail message string of this
Throwableinstance (which may benull).
-