Class PasswordRuleViolationExceptionMapper
- java.lang.Object
-
- org.apache.archiva.redback.rest.services.interceptors.v2.PasswordRuleViolationExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<PasswordRuleViolationException>
@Provider @Service("v2.passwordRuleViolationExceptionMapper") public class PasswordRuleViolationExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<PasswordRuleViolationException>
This implementation returns a 422 status code.- Since:
- 3.0
- Author:
- Olivier Lamy
-
-
Constructor Summary
Constructors Constructor Description PasswordRuleViolationExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(PasswordRuleViolationException e)
-
-
-
Constructor Detail
-
PasswordRuleViolationExceptionMapper
public PasswordRuleViolationExceptionMapper()
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(PasswordRuleViolationException e)
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<PasswordRuleViolationException>
-
-