Class ObjectStoreException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gargoylesoftware.base.objectstore.ObjectStoreException
All Implemented Interfaces:
Serializable

public class ObjectStoreException extends RuntimeException
Thrown when an error occuring during the processing of an object store.
Version:
$Revision: 1.4 $
See Also:
  • Field Details

  • Constructor Details

    • ObjectStoreException

      public ObjectStoreException(String message)
      Create an instance
      Parameters:
      message - The text of the exception
    • ObjectStoreException

      public ObjectStoreException(Exception e)
      Create an instance
      Parameters:
      e - An exception that this exception is enclosing
    • ObjectStoreException

      public ObjectStoreException(String message, Exception e)
      Create an instance
      Parameters:
      message - The text of the exception
      e - An exception that this exception is enclosing
    • ObjectStoreException

      protected ObjectStoreException()
      Create an instance
  • Method Details

    • getException

      public Exception getException()
      Return the enclosed exception
      Returns:
      The enclosed exception or null if one was not specified
    • printStackTrace

      public void printStackTrace(PrintWriter writer)
      Print the stack trace. If this exception contains another exception then the stack traces for both will be printed.
      Overrides:
      printStackTrace in class Throwable
      Parameters:
      writer - Where the stack trace will be written
    • printStackTrace

      public void printStackTrace(PrintStream stream)
      Print the stack trace. If this exception contains another exception then the stack traces for both will be printed.
      Overrides:
      printStackTrace in class Throwable
      Parameters:
      stream - Where the stack trace will be written