|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.ws.rs.WebApplicationException
info.sswap.http.rest.InternalServerErrorException
public class InternalServerErrorException
An exception generated when an unexpected exception is caught. The exceptions of this type generate 500 HTTP code.
| Field Summary | |
|---|---|
private static long |
serialVersionUID
Serial version ID for a Serializable class |
| Constructor Summary | |
|---|---|
InternalServerErrorException()
Creates an exception that will generate a generic "500 Internal Server Error" response |
|
InternalServerErrorException(java.lang.String message)
Creates an exception that will generate a "500" HTTP response with a specified message (typed text/plain). |
|
| Method Summary |
|---|
| Methods inherited from class javax.ws.rs.WebApplicationException |
|---|
getResponse |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 |
|---|
private static final long serialVersionUID
| Constructor Detail |
|---|
public InternalServerErrorException()
public InternalServerErrorException(java.lang.String message)
message - the custom message to be displayed as an error message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||