Class MarkingsValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codice.alliance.security.banner.marking.MarkingsValidationException
All Implemented Interfaces:
Serializable

public class MarkingsValidationException extends Exception
See Also:
  • Constructor Details

    • MarkingsValidationException

      public MarkingsValidationException(String message, String inputMarkings)
      Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).
      Parameters:
      message - the detail message. The detail message is saved for later retrieval by the getMessage() method.
    • MarkingsValidationException

      public MarkingsValidationException(String message, String inputMarkings, Set<ValidationError> errors)
  • Method Details

    • getInputMarkings

      public String getInputMarkings()
    • getErrors

      public Set<ValidationError> getErrors()
    • getMessage

      public String getMessage()
      Returns the detail message string of this throwable.
      Overrides:
      getMessage in class Throwable
      Returns:
      the detail message string of this Throwable instance (which may be null).