fr.gedeon.telnetservice
Class TelnetServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by fr.gedeon.telnetservice.TelnetServiceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
OutputFormatException, PromptDecoratorCreateException, PromptDecoratorInitializationException, StateEntryNotFoundException

public class TelnetServiceException
extends Exception
implements Serializable

This is the common exception thrown by the different telnet service components.

Author:
wgedeon
See Also:
Serialized Form

Constructor Summary
TelnetServiceException(String msg)
          Constructor with message
TelnetServiceException(String msg, Throwable _rootCause)
          Constructor with message and root cause
 
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

TelnetServiceException

public TelnetServiceException(String msg)
Constructor with message

Parameters:
msg - the exception message, will be returned when Throwable.getMessage() is called.

TelnetServiceException

public TelnetServiceException(String msg,
                              Throwable _rootCause)
Constructor with message and root cause

Parameters:
msg - the exception message, will be returned when Throwable.getMessage() is called.
_rootCause - the throwable that caused the throwing of this exception, the root or evil.


Copyright © 2008. All Rights Reserved.