|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.apache.james.nntpserver.NNTPException
public class NNTPException
Exception Wrapper, like javax.servlet.ServletException. Purpose is to catch and wrap exceptions into unchecked NNTP specific. Protocol handler catches the exception and returns error info to client. Error Information is obtained by calling 'getMessage'
Constructor Summary | |
---|---|
NNTPException(java.lang.String msg)
Create an NNTPException with an error message and no encapsulated Throwable |
|
NNTPException(java.lang.String msg,
java.lang.Throwable t)
Create an NNTPException with an error message and an encapsulated Throwable |
|
NNTPException(java.lang.Throwable t)
Create an NNTPException with an encapsulated Throwable |
Method Summary |
---|
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 NNTPException(java.lang.String msg)
Throwable
msg
- the error message for this exceptionpublic NNTPException(java.lang.String msg, java.lang.Throwable t)
Throwable
msg
- the error message for this exceptiont
- the encapsulated Throwable
public NNTPException(java.lang.Throwable t)
Throwable
t
- the encapsulated Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |