Arena  1.0
A content management system
 All Classes Files Functions Variables Pages
Library.Base.Exceptions.AnException Class Reference

The base exception class used by nearly all other exceptions generated by arena. More...

+ Inheritance diagram for Library.Base.Exceptions.AnException:

Public Member Functions

def __init__
 Construct a new exception instance. More...
 
def init
 Initializer.
 
def write
 Print a string representation of the exception to standard script output. More...
 
def toString
 Construct a string representation of the exception. More...
 
def message
 Return the error message associated with the exception. More...
 
- Public Member Functions inherited from Library.Base.Classwork.AnObject
def init
 Initialize a new object instance. More...
 
def __init__
 Construct and initialize a new instance of AnObject. More...
 
def __del__
 Destroy the object instance. More...
 
def displayName
 Construct a "pretty" display name for the class instance, based on the name of its class. More...
 
def implements
 Determine whether the class instance is related to the specified class. More...
 
def toString
 Return a string representation of the class, suitable for output to a console or text-based device. More...
 
def __str__
 Return a string representation of the class. More...
 
def classname
 Return the name of the class from which the instance was created. More...
 
def name
 Return the name of the class. More...
 
- Public Member Functions inherited from Library.String.Utilities.IsPrintable
def toString
 Return a string representation of the class conveniently. More...
 
def __str__
 Return a string representation of the class. More...
 
def printTo
 Print a string representation of the class to the specified stream. More...
 

Detailed Description

The base exception class used by nearly all other exceptions generated by arena.

Constructor & Destructor Documentation

def Library.Base.Exceptions.AnException.__init__ (   Self,
  errorMessage,
  params 
)

Construct a new exception instance.

errorMessage may be a format string, in which case the resulting error message generated by the exception will include the text in errorMessage and any parameters specified by params.

Member Function Documentation

def Library.Base.Exceptions.AnException.message (   Self)

Return the error message associated with the exception.

def Library.Base.Exceptions.AnException.toString (   Self)

Construct a string representation of the exception.

The string is formatted according to the specification provided by eStringRepresentation.

def Library.Base.Exceptions.AnException.write (   Self)

Print a string representation of the exception to standard script output.

The string representation used is that produced by AnException.toString().


The documentation for this class was generated from the following file: