org.objectweb.dream
Class PushException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.objectweb.dream.PushException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InterruptedPushException, IOPushException

public class PushException
extends Exception

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

See Also:
Serialized Form

Constructor Summary
PushException()
           
PushException(String message)
           
PushException(String message, Throwable cause)
          Creates an exception caused by another exception.
PushException(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

PushException

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

PushException

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

PushException

public PushException(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)

PushException

public PushException(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()
Returns:
Returns the cause.

setCause

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


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