|
|||||||||
| 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.io.IOException
org.xlightweb.BadMessageException
public final class BadMessageException
Checked exception thrown when a if a bad message occurs
| Constructor Summary | |
|---|---|
BadMessageException(int statusCode)
constructor |
|
BadMessageException(int statusCode,
String reason)
constructor |
|
BadMessageException(String reason)
constructor |
|
| Method Summary | |
|---|---|
int |
getStatus()
get the status code |
| 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 |
| Constructor Detail |
|---|
public BadMessageException(String reason)
reason - the reasonpublic BadMessageException(int statusCode)
statusCode - the status code
public BadMessageException(int statusCode,
String reason)
statusCode - the status codereason - the reason| Method Detail |
|---|
public int getStatus()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||