com.pushtotest.tool.protocolhandler
Class NotReadyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.commons.lang.exception.NestableException
              extended by com.pushtotest.tool.ToolException
                  extended by com.pushtotest.tool.protocolhandler.NotReadyException
All Implemented Interfaces:
java.io.Serializable, org.apache.commons.lang.exception.Nestable

public class NotReadyException
extends ToolException

This is an Exception that is thrown if the connect() method of a Protocol is called without all of the necessary properties initialized.

See Also:
Serialized Form

Field Summary
protected static java.lang.String DEFAULT_ERROR
           
 
Fields inherited from class org.apache.commons.lang.exception.NestableException
delegate
 
Constructor Summary
NotReadyException()
          This is the default Constructor for a NotReadyException It creates a new Exception without setting a message.
NotReadyException(java.lang.String message)
          This is the Constructor for a NotReadyException that takes a String message to pass.
NotReadyException(java.lang.String message, java.lang.Throwable cause)
          Construct a new NotReadyException.
NotReadyException(java.lang.Throwable cause)
          Construct a new NotReadyException.
 
Method Summary
 
Methods inherited from class com.pushtotest.tool.ToolException
getKey, setKey
 
Methods inherited from class org.apache.commons.lang.exception.NestableException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_ERROR

protected static java.lang.String DEFAULT_ERROR
Constructor Detail

NotReadyException

public NotReadyException()
This is the default Constructor for a NotReadyException It creates a new Exception without setting a message.


NotReadyException

public NotReadyException(java.lang.String message)
This is the Constructor for a NotReadyException that takes a String message to pass.

Parameters:
message - An informative message to say why this exception is being thrown and who's throwing it.

NotReadyException

public NotReadyException(java.lang.String message,
                         java.lang.Throwable cause)
Construct a new NotReadyException.

Parameters:
message - The message to say what went wrong.
cause - The exception that caused this to be thrown.

NotReadyException

public NotReadyException(java.lang.Throwable cause)
Construct a new NotReadyException.

Parameters:
cause - The exception that caused this to be thrown.