org.apache.droids.exception
Class DroidsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.droids.exception.DroidsException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ContentFormatViolationException, InvalidLinkException, InvalidTaskException, ParserNotFoundException, ProtocolNotFoundException

public class DroidsException
extends java.lang.Exception

Wrapper object to limit the number of different Exception we can throw.

Version:
1.0
See Also:
Serialized Form

Constructor Summary
DroidsException(java.lang.String message)
          Constructs a new exception with the specified detail message.
DroidsException(java.lang.String message, java.lang.Throwable cause)
          For more information Exception
DroidsException(java.lang.Throwable cause)
          For more information Exception
 
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

DroidsException

public DroidsException(java.lang.String message)
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).

Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.

DroidsException

public DroidsException(java.lang.String message,
                       java.lang.Throwable cause)
For more information Exception

Parameters:
message -
cause -

DroidsException

public DroidsException(java.lang.Throwable cause)
For more information Exception

Parameters:
cause -


Copyright © 2007-2009. All Rights Reserved.