aerogear-security 1.0.1

org.jboss.aerogear.security.exception
Class AeroGearSecurityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Field Summary
private  int status
           
 
Constructor Summary
AeroGearSecurityException(HttpStatus httpStatus)
          Constructs a new AeroGearSecurityException with HTTP status response mapped from the supplied exception at HttpExceptionMapper.
 
Method Summary
 String getMessage()
          HTTP response message
 int getStatus()
          Current HTTP status
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

status

private int status
Constructor Detail

AeroGearSecurityException

public AeroGearSecurityException(HttpStatus httpStatus)
Constructs a new AeroGearSecurityException with HTTP status response mapped from the supplied exception at HttpExceptionMapper.

Parameters:
httpStatus -
Method Detail

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

aerogear-security 1.0.1

Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.