org.jppf
Class JPPFError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by org.jppf.JPPFError
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JPPFNodeReconnectionNotification, JPPFNodeReloadNotification

public class JPPFError
extends Error

Class of JPPF-specific error that may be caught in special cases. The goal of this class is to provide an unchecked exception, allowing a quick propagation up the call stack, while still allowing it to be caught specifically, in case the application chooses not to exit, in response to the problem.

Author:
Laurent Cohen
See Also:
Serialized Form

Constructor Summary
JPPFError(String message)
          Initialize this error with a specified message.
JPPFError(String message, Throwable cause)
          Initialize this error with a specified message and cause exception.
JPPFError(Throwable cause)
          Initialize this error with a specified cause 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

JPPFError

public JPPFError(String message,
                 Throwable cause)
Initialize this error with a specified message and cause exception.

Parameters:
message - the message for this error.
cause - the cause exception.

JPPFError

public JPPFError(String message)
Initialize this error with a specified message.

Parameters:
message - the message for this error.

JPPFError

public JPPFError(Throwable cause)
Initialize this error with a specified cause exception.

Parameters:
cause - the cause exception.


Copyright © 2005-2010 JPPF Team.