public class UserActivationValidationExceptionMapper extends Object implements ExceptionMapper<UserActivationValidationException>
AUTHENTICATION_ERROR, AUTHORIZATION_ERROR, BAD_REQUEST, FORBIDDEN, ILLEGAL_PARAMETERS_ERROR, INTERNAL_ERROR, NOT_ACCEPTABLE, NOT_FOUND, OKAY, UNKNOWN_ERROR, VALIDATION_ERROR, WARNING
Constructor and Description |
---|
UserActivationValidationExceptionMapper() |
Modifier and Type | Method and Description |
---|---|
Class<UserActivationValidationException> |
getExceptionClass() |
Status |
mapException(UserActivationValidationException exception)
Maps the given exception to a status.
|
public UserActivationValidationExceptionMapper()
public Class<UserActivationValidationException> getExceptionClass()
getExceptionClass
in interface ExceptionMapper<UserActivationValidationException>
public Status mapException(UserActivationValidationException exception)
mapException
in interface ExceptionMapper<UserActivationValidationException>
exception
- The exception to map.Copyright © 2019 Communote team. All rights reserved.