java.lang.isolate
Class IsolateResourceError

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Error
              |
              +--java.lang.isolate.IsolateResourceError
All Implemented Interfaces:
Serializable

public class IsolateResourceError
extends Error

IsolateResourceError is thrown when the resource requirements required for an action cannot be fulfilled.

The conditions leading to this exception may be transient or permanent depending on the action and the resource involved. Refer to the specific documentation for the constructor or method in question.

Note that resource in the context of this exception is defined as something required for program operations, for which the lack thereof causes a failure.

Since:
1.5
See Also:
Serialized Form

Constructor Summary
IsolateResourceError()
          Constructs a IsolateResourceError with no specified detail message.
IsolateResourceError(String detail)
          Constructs a IsolateResourceError with the specified detail message or null if none available.
IsolateResourceError(String detail, Throwable cause)
          Constructs a IsolateResourceError that wraps the specified throwable and provides the given detail message (which may be null).
IsolateResourceError(Throwable cause)
          Constructs a IsolateResourceError that wraps the specified throwable.
 
Method Summary
 Throwable getCause()
          Returns the chained Throwable object that was the cause of this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IsolateResourceError

public IsolateResourceError()
Constructs a IsolateResourceError with no specified detail message.


IsolateResourceError

public IsolateResourceError(String detail)
Constructs a IsolateResourceError with the specified detail message or null if none available.

Parameters:
detail - Detailed information about the exception or null

IsolateResourceError

public IsolateResourceError(Throwable cause)
Constructs a IsolateResourceError that wraps the specified throwable. A null value indicates that the cause is nonexistent or unknown and the cause may be retrieved later with the getCause() method.

Parameters:
cause - the cause or null

IsolateResourceError

public IsolateResourceError(String detail,
                            Throwable cause)
Constructs a IsolateResourceError that wraps the specified throwable and provides the given detail message (which may be null). A null value indicates that the cause is nonexistent or unknown and the cause may be retrieved later with the getCause() method.

Parameters:
detail - Detailed information about the exception or null
cause - the cause or null
Method Detail

getCause

public Throwable getCause()
Returns the chained Throwable object that was the cause of this exception.

Overrides:
getCause in class Throwable
Returns:
the cause exception or null if nonexistent