Package com.yahoo.config.application.api
Class ValidationOverrides.ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- com.yahoo.config.application.api.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 beoverridden
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 tooverride
it
-
-
-
Method Detail
-
validationId
public ValidationId validationId()
Returns the unique id of this validation, which can be used tooverride
it
-
getMessage
public java.lang.String getMessage()
Returns "validationId: message"- Overrides:
getMessage
in classjava.lang.Throwable
-
-