org.apache.droids.exception
Class DroidsException

Package class diagram package DroidsException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.droids.exception.DroidsException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ParserNotFoundException, ProtocolNotFoundException

public class DroidsException
extends Exception

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

See Also:
Serialized Form

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

Parameters:
cause -


Copyright © 2008 The Apache Software Foundation