Class ConstraintViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.netflix.spinnaker.kork.exceptions.SpinnakerException
com.netflix.spinnaker.kork.exceptions.ConstraintViolationException
- All Implemented Interfaces:
HasAdditionalAttributes,Serializable
Thrown when an "expected" possible constraint is violated. This isn't necessarily the fault of
the system, an integration, or a user. A prime example would be a preconditions check, traffic
guards, and the like.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstraintViolationException(String message) ConstraintViolationException(String message, String userMessage) ConstraintViolationException(String message, Throwable cause) ConstraintViolationException(String message, Throwable cause, String userMessage) ConstraintViolationException(Throwable cause, String userMessage) -
Method Summary
Methods inherited from class com.netflix.spinnaker.kork.exceptions.SpinnakerException
newInstanceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.netflix.spinnaker.kork.exceptions.HasAdditionalAttributes
getAdditionalAttributes
-
Constructor Details
-
ConstraintViolationException
-
ConstraintViolationException
-
ConstraintViolationException
-
ConstraintViolationException
-
ConstraintViolationException
-
ConstraintViolationException
-