Class ValidationOverrides.ValidationException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    ValidationOverrides

    public static class ValidationOverrides.ValidationException
    extends java.lang.IllegalArgumentException
    A deployment validation exception. Deployment validations can be overridden based on their id. The purpose of this exception is to model that id as a separate field.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()
      Returns "validationId: message"
      ValidationId validationId()
      Returns the unique id of this validation, which can be used to override it
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • validationId

        public ValidationId validationId()
        Returns the unique id of this validation, which can be used to override it
      • getMessage

        public java.lang.String getMessage()
        Returns "validationId: message"
        Overrides:
        getMessage in class java.lang.Throwable