com.atlassian.crowd.plugin.rest.exception.mapper
Class InvalidCredentialExceptionMapper

java.lang.Object
  extended by com.atlassian.crowd.plugin.rest.exception.mapper.InvalidCredentialExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<InvalidCredentialException>

@Provider
public class InvalidCredentialExceptionMapper
extends java.lang.Object
implements javax.ws.rs.ext.ExceptionMapper<InvalidCredentialException>

Maps an InvalidCredentialException to a Response.


Constructor Summary
InvalidCredentialExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(InvalidCredentialException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvalidCredentialExceptionMapper

public InvalidCredentialExceptionMapper()
Method Detail

toResponse

public javax.ws.rs.core.Response toResponse(InvalidCredentialException exception)
Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<InvalidCredentialException>


Copyright © 2012 Atlassian. All Rights Reserved.