Package tech.jhipster.lite.error.domain
Class UnauthorizedValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tech.jhipster.lite.error.domain.UnauthorizedValueException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnauthorizedValueException(RuntimeException runtimeException) UnauthorizedValueException(String field) -
Method Summary
Modifier and TypeMethodDescriptionstatic UnauthorizedValueExceptionforInconsistentValue(String field, Object input) static UnauthorizedValueExceptionforInconsistentValues(String field1, Object input1, String field2, Object input2) static UnauthorizedValueExceptionforNegativeValue(String field) static UnauthorizedValueExceptionforTooShortValue(String field) static UnauthorizedValueExceptionforUnequalValues(String field1, String field2, Object input1, Object input2) static UnauthorizedValueExceptionforUnexpectedType(String field) static UnauthorizedValueExceptionforUnexpectedValue(String field, Object input, Object expectedValue) static UnauthorizedValueExceptionforUnknownValue(String field) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnauthorizedValueException
-
UnauthorizedValueException
-
-
Method Details
-
forNegativeValue
-
forInconsistentValue
-
forInconsistentValues
public static UnauthorizedValueException forInconsistentValues(String field1, Object input1, String field2, Object input2) -
forUnequalValues
public static UnauthorizedValueException forUnequalValues(String field1, String field2, Object input1, Object input2) -
forUnexpectedType
-
forUnknownValue
-
forTooShortValue
-
forUnexpectedValue
public static UnauthorizedValueException forUnexpectedValue(String field, Object input, Object expectedValue)
-