org.multiverse.api.exceptions
Class PanicError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by org.multiverse.api.exceptions.PanicError
All Implemented Interfaces:
Serializable

public class PanicError
extends Error

An Error thrown when the state of the Stm has been compromised. Normally this exception should never happen.

Author:
Peter Veentjer.
See Also:
Serialized Form

Constructor Summary
PanicError(String message)
          Creates a new PanicError with the provided message.
PanicError(String message, Throwable cause)
          Creates a new PanicError with the provided message and cause.
 
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

PanicError

public PanicError(String message)
Creates a new PanicError with the provided message.

Parameters:
message - the message of the PanicError.

PanicError

public PanicError(String message,
                  Throwable cause)
Creates a new PanicError with the provided message and cause.

Parameters:
message - the message of the PanicError.
cause - the cause of the PanicError.


Copyright © 2012. All Rights Reserved.