org.objectweb.dream
Class PullException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.objectweb.dream.PullException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InterruptedPullException

public class PullException
extends Exception

This is a generic exception which a pull method can throw.

See Also:
Serialized Form

Constructor Summary
PullException()
           
PullException(String message)
           
PullException(String message, Throwable cause)
          Creates an exception caused by another exception.
PullException(Throwable cause)
          Creates an exception caused by another exception.
 
Method Summary
 Throwable getCause()
           
 void setCause(Throwable cause)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

PullException

public PullException()
See Also:
Exception.Exception()

PullException

public PullException(String message)
See Also:
Exception.Exception(java.lang.String)

PullException

public PullException(String message,
                     Throwable cause)
Creates an exception caused by another exception.

Parameters:
message - the detail message.
cause - a throwable that cause this exception.
See Also:
Exception.Exception(java.lang.String)

PullException

public PullException(Throwable cause)
Creates an exception caused by another exception.

Parameters:
cause - a throwable that cause this exception.
See Also:
Exception.Exception()
Method Detail

getCause

public Throwable getCause()
Overrides:
getCause in class Throwable
Returns:
Returns the cause.

setCause

public void setCause(Throwable cause)
Parameters:
cause - The cause to set.


Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.