org.melati.poem
Class 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:
java.io.Serializable
Direct Known Subclasses:
AccessPoemException, AlreadyInSessionPoemException, Cache.InconsistencyException, ConnectionPendingException, CrossTransactionCommitException, Database.ConnectingException, DatabaseInitialisationPoemException, DeletionIntegrityPoemException, DisplayLevel.NameUnrecognisedException, FieldContentsPoemException, InitialisationPoemException, NonRootSetAccessTokenPoemException, NormalPoemException, OutsideRangePoemException, RowDisappearedPoemException, Searchability.NameUnrecognisedException, SeriousPoemException, Setting.SettingValidationException, SettingTable.UnsetException, StandardIntegrityFix.NameUnrecognisedException, TableMismatchPoemException, TransactionIndexTooLargeException, WouldDeadlockException, WriteCommittedException

public abstract class PoemException
extends java.lang.RuntimeException

Base class for all Poem exceptions.

NOTE All POEM exceptions are unchecked.

See Also:
Serialized Form

Field Summary
 java.lang.Exception subException
          Pre-java 1.4 initial cause.
 
Constructor Summary
PoemException()
          Constructor.
PoemException(java.lang.Exception subException)
          Constructor.
PoemException(java.lang.String message)
          Constructor with message.
PoemException(java.lang.String message, java.lang.Exception subException)
          Constructor with message and initial cause.
 
Method Summary
 java.lang.String getCoreMessage()
           
 java.lang.String getMessage()
          The detail message which may be null.
 java.lang.Throwable initCause(java.lang.Throwable cause)
          No longer overrides standard method.
 java.lang.Exception innermostException()
           
 void printStackTrace()
          
 void printStackTrace(java.io.PrintStream s)
          
 void printStackTrace(java.io.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 java.lang.Exception subException
Pre-java 1.4 initial cause.

Constructor Detail

PoemException

public PoemException(java.lang.Exception subException)
Constructor.


PoemException

public PoemException()
Constructor.


PoemException

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


PoemException

public PoemException(java.lang.String message)
Constructor with message.

Method Detail

initCause

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

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

getCoreMessage

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

getMessage

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

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

innermostException

public java.lang.Exception innermostException()
Returns:
the actual exception

printStackTrace

public void printStackTrace()

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

printStackTrace

public void printStackTrace(java.io.PrintStream s)

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

printStackTrace

public void printStackTrace(java.io.PrintWriter w)

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


Copyright © 2000-2009 PanEris. All Rights Reserved.