Exceptionclass_main.t[579]

Base class for all exception objects. We derive all exceptions from this base class so that we can write 'catch' blocks that catch all exceptions by catching 'Exception'.

The displayException() method displays a message describing the exception. Subclasses should override this method.

class Exception :   object

Superclass Tree   (in declaration order)

Exception
        object

Subclass Tree  

Exception
       
AbortImplicitSignal
        ActionRemappingTooComplexError
        BreakLoopSignal
        CircularExecException
        DisambigException
                DisambigOrdinalOutOfRangeException
                StillAmbiguousException
                UnmatchedDisambigException
        EndOfFileException
        ExitActionSignal
        ExitSignal
        FileException
                FileClosedException
                FileCreationException
                FileIOException
                FileModeException
                FileNotFoundException
                FileOpenException
                FileSafetyException
                FileSyncException
        ParserException
                ParseFailureException
                ReplacementCommandStringException
                RetryCommandTokensException
                TerminateCommandException
                        CancelCommandLineException
        QuittingException
        RemapActionSignal
        RestartSignal
        RuntimeError
        SettingsNotSupportedException
        TokenizerError
                TokErrorNoMatch
        UnknownCharSetException

Global Objects  

(none)

Summary of Properties  

(none)

Summary of Methods  

displayException  showStackTrace 

Properties  

(none)

Methods  

displayException ( )_main.t[581]

display the exception - should always be overridden

showStackTrace (stackList)_main.t[593]
Display a stack trace, given a list of T3StackInfo objects. Note that, for efficiency, we do not by default cache a stack trace when an exception occurs; individual subclasses can obtain a stack trace if desired at construction and use the information to show a stack trace for the exception.

TADS 3 Library Manual
Generated on 9/8/2006 from TADS version 3.0.11