org.eclipse.mat
Class SnapshotException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.mat.SnapshotException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
OQLParseException

public class SnapshotException
extends java.lang.Exception

Exception used to indicate a problem different from the standard Java exceptions while performing an operation on an snapshot.

See Also:
Serialized Form

Constructor Summary
SnapshotException()
          Create snapshot exception - should not be used except during deserialization.
SnapshotException(java.lang.String message)
          Create snapshot exception with message only.
SnapshotException(java.lang.String message, java.lang.Throwable cause)
          Create snapshot exception with message and root cause.
SnapshotException(java.lang.Throwable cause)
          Create snapshot exception with root cause only.
 
Method Summary
static SnapshotException rethrow(java.lang.Throwable e)
          Wrap, if necessary, and return a SnapshotException.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SnapshotException

public SnapshotException()
Create snapshot exception - should not be used except during deserialization.


SnapshotException

public SnapshotException(java.lang.String message,
                         java.lang.Throwable cause)
Create snapshot exception with message and root cause.

Parameters:
message -
cause -

SnapshotException

public SnapshotException(java.lang.String message)
Create snapshot exception with message only.

Parameters:
message -

SnapshotException

public SnapshotException(java.lang.Throwable cause)
Create snapshot exception with root cause only.

Parameters:
cause -
Method Detail

rethrow

public static final SnapshotException rethrow(java.lang.Throwable e)
Wrap, if necessary, and return a SnapshotException.