Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

edu.virtualschool.jwaa.Fault Class Reference

Inheritance diagram for edu.virtualschool.jwaa.Fault:

edu.virtualschool.jwaa.IgnorableFault edu.virtualschool.jwaa.IOFault edu.virtualschool.jwaa.ServletFault edu.virtualschool.jwaa.UserFault List of all members.

Detailed Description

Fault is the abstract superclass of subclasses that organize faults into meaningful categories while supporting arbitrarily deep exception chaining to assist programmers in locating the precise cause. "Fault" is preferred to "exception" or "throwable" because it is shorter, less technical, and more understandable by end-users.
See also:
RuntimeFault Copyright 2002 by Brad Cox: <bcox@virtualschool.edu>

Definition at line 16 of file Fault.java.

Public Member Functions

 Fault (Object message, Throwable e)
 Fault (String message)
 Fault (Throwable e)
final void printStackTrace ()
final void printStackTrace (PrintStream ps)
final void printStackTrace (PrintWriter pw)
final Throwable getChainedException ()
final String getType ()
final String toString ()
String getReason ()
String getAdvice ()

Static Public Member Functions

final String getStackTrace (Throwable e)


Member Function Documentation

String edu.virtualschool.jwaa.Fault.getAdvice  ) 
 

Override to return a non-technical description of what the end-user should do about it.

Definition at line 85 of file Fault.java.

00085 { return ""; }

String edu.virtualschool.jwaa.Fault.getReason  ) 
 

Override to return a non-technical interpretation of what the fault means in the end-user's frame of reference.

Definition at line 80 of file Fault.java.

00080 { return ""; }


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