org.apache.james.nntpserver
Class NNTPException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.apache.james.nntpserver.NNTPException
All Implemented Interfaces:
java.io.Serializable

public class NNTPException
extends java.lang.RuntimeException

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'

Author:
Harmeet Bedi
See Also:
Serialized Form

Constructor Summary
NNTPException(java.lang.String msg)
           
NNTPException(java.lang.String msg, java.lang.Throwable t)
           
NNTPException(java.lang.Throwable t)
           
 
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

NNTPException

public NNTPException(java.lang.String msg)

NNTPException

public NNTPException(java.lang.String msg,
                     java.lang.Throwable t)

NNTPException

public NNTPException(java.lang.Throwable t)


"Copyright © 2001 Apache Jakarta Project. All Rights Reserved."