public class AeroGearSecurityException extends RuntimeException implements org.jboss.aerogear.controller.spi.HttpStatusAwareException
| Modifier and Type | Field and Description |
|---|---|
private int |
status |
| Constructor and Description |
|---|
AeroGearSecurityException(HttpStatus httpStatus)
Constructs a new AeroGearSecurityException with HTTP status response mapped from the supplied exception at
HttpExceptionMapper. |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
HTTP response message
|
int |
getStatus()
Current HTTP status
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AeroGearSecurityException(HttpStatus httpStatus)
HttpExceptionMapper.httpStatus - public int getStatus()
getStatus in interface org.jboss.aerogear.controller.spi.HttpStatusAwareExceptionpublic String getMessage()
getMessage in interface org.jboss.aerogear.controller.spi.HttpStatusAwareExceptiongetMessage in class ThrowableCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.