de.jface.remind.io
Class StorageException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--de.jface.remind.io.StorageException
All Implemented Interfaces:
java.io.Serializable

public class StorageException
extends java.lang.Exception

Exception StorageException of project RemotePostIt.

Version:
$Revision: 1.1.1.1 $
Author:
Moritz Petersen
See Also:
Serialized Form

Constructor Summary
StorageException()
          Creates an empty StorageException.
StorageException(java.lang.Exception rootException)
          Creates a StorageException containing a root exception.
StorageException(java.lang.String message)
          Creeates a StorageException containing a message.
StorageException(java.lang.String message, java.lang.Exception rootException)
          Creates a StorageException containing a message and a root exception.
 
Method Summary
 java.lang.Exception getRootException()
          Returns the root exception of the StorageException.
 void printStackTrace()
          Prints a stack trace to the standard error stream.
 void printStackTrace(java.io.PrintStream stream)
          Prints a stack trace to the specified PrintStream.
 void printStackTrace(java.io.PrintWriter writer)
          Prints a stack trace to the specified writer.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StorageException

public StorageException()
Creates an empty StorageException.

StorageException

public StorageException(java.lang.String message)
Creeates a StorageException containing a message.
Parameters:
message - the message of the StorageException.

StorageException

public StorageException(java.lang.String message,
                        java.lang.Exception rootException)
Creates a StorageException containing a message and a root exception.
Parameters:
message - the message of the StorageException.
rootException - the exception that lead to the StorageException.

StorageException

public StorageException(java.lang.Exception rootException)
Creates a StorageException containing a root exception.
Parameters:
rootException - the exception that lead to the StorageException.
Method Detail

getRootException

public java.lang.Exception getRootException()
Returns the root exception of the StorageException.
Returns:
The root exception.

printStackTrace

public void printStackTrace()
Prints a stack trace to the standard error stream.
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter writer)
Prints a stack trace to the specified writer.
Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
writer - the PrintWriter the stack trace is printed to.

printStackTrace

public void printStackTrace(java.io.PrintStream stream)
Prints a stack trace to the specified PrintStream.
Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
stream - the OutputStream the stack trace is printed to.


Copyright © 2002-2002 Moritz Petersen. All Rights Reserved.