org.jboss.aerogear.security.exception
Class AeroGearSecurityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.aerogear.security.exception.AeroGearSecurityException
- All Implemented Interfaces:
- Serializable
public class AeroGearSecurityException
- extends RuntimeException
General exception thrown due to an error during the Authentication/Authorization process.
- See Also:
- Serialized Form
AeroGearSecurityException
public AeroGearSecurityException(HttpStatus httpStatus)
- Constructs a new AeroGearSecurityException with HTTP status response mapped from the supplied exception at
HttpExceptionMapper.
- Parameters:
httpStatus -
getStatus
public int getStatus()
- Current HTTP status
- Returns:
- HTTP response code
getMessage
public String getMessage()
- HTTP response message
- Overrides:
getMessage in class Throwable
- Returns:
- response message
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.