Package org.keycloak.userprofile
Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.keycloak.userprofile.ValidationException
- All Implemented Interfaces:
 Serializable
- Author:
 - Pedro Igor
 - See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classCreating a light-weight consumer of validation errors to avoid creating an empty exception which has an expensive stack trace without having the need for it. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response.StatusbooleanbooleanisAttributeOnError(String... name) Checks if there are validation errors related to the attribute with the givenname.toString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace 
- 
Constructor Details
- 
ValidationException
 
 - 
 - 
Method Details
- 
getErrors
 - 
hasError
 - 
isAttributeOnError
Checks if there are validation errors related to the attribute with the givenname.- Parameters:
 name-- Returns:
 
 - 
toString
 - 
getMessage
- Overrides:
 getMessagein classThrowable
 - 
getStatusCode
public jakarta.ws.rs.core.Response.Status getStatusCode() 
 -