org.melati.poem
Class PoemException

Package class diagram package PoemException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.melati.poem.PoemException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccessPoemException, AlreadyInSessionPoemException, Cache.InconsistencyException, ConnectionPendingException, CrossTransactionCommitException, Database.ConnectingException, DatabaseInitialisationPoemException, DeletionIntegrityPoemException, DisplayLevel.NameUnrecognisedException, FieldContentsPoemException, InitialisationPoemException, MelatiRuntimeException, NonRootSetAccessTokenPoemException, NormalPoemException, OutsideRangePoemException, RowDisappearedPoemException, Searchability.NameUnrecognisedException, SeriousPoemException, Setting.SettingValidationException, SettingTable.UnsetException, StandardIntegrityFix.NameUnrecognisedException, TableMismatchPoemException, TransactionIndexTooLargeException, WouldDeadlockException, WriteCommittedException

public abstract class PoemException
extends RuntimeException

Base class for all Poem exceptions.

NOTE All POEM exceptions are unchecked.

See Also:
Serialized Form

Field Summary
 Exception subException
          Pre-java 1.4 initial cause.
 
Constructor Summary
PoemException()
          Constructor.
PoemException(Exception subException)
          Constructor.
PoemException(String message)
          Constructor with message.
PoemException(String message, Exception subException)
          Constructor with message and initial cause.
 
Method Summary
 String getCoreMessage()
           
 String getMessage()
          The detail message which may be null.
 Throwable initCause(Throwable cause)
          No longer overrides standard method.
 Exception innermostException()
           
 void printStackTrace()
          
 void printStackTrace(PrintStream s)
          
 void printStackTrace(PrintWriter w)
          
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

subException

public Exception subException
Pre-java 1.4 initial cause.

Constructor Detail

PoemException

public PoemException(Exception subException)
Constructor.


PoemException

public PoemException()
Constructor.


PoemException

public PoemException(String message,
                     Exception subException)
Constructor with message and initial cause.


PoemException

public PoemException(String message)
Constructor with message.

Method Detail

initCause

public Throwable initCause(Throwable cause)
No longer overrides standard method.

Overrides:
initCause in class Throwable
See Also:
Throwable.initCause(java.lang.Throwable)

getCoreMessage

public String getCoreMessage()
Returns:
the message from super class

getMessage

public String getMessage()
The detail message which may be null.

Overrides:
getMessage in class Throwable
See Also:
Throwable.getMessage()

innermostException

public Exception innermostException()
Returns:
the actual exception

printStackTrace

public void printStackTrace()

Overrides:
printStackTrace in class Throwable
See Also:
Throwable.printStackTrace()

printStackTrace

public void printStackTrace(PrintStream s)

Overrides:
printStackTrace in class Throwable
See Also:
Throwable.printStackTrace(java.io.PrintStream)

printStackTrace

public void printStackTrace(PrintWriter w)

Overrides:
printStackTrace in class Throwable
See Also:
Throwable.printStackTrace(java.io.PrintWriter)


Copyright © 2000-2010 PanEris. All Rights Reserved.