Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.tripi.asp
Class AspNestedException  view AspNestedException download AspNestedException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.tripi.asp.AspException
              extended bycom.tripi.asp.AspNestedException
All Implemented Interfaces:
java.io.Serializable

public class AspNestedException
extends AspException

AspNestedException handles generic sub-exceptions.

Version:
0.9

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
(package private)  org.apache.log4j.Category DBG
          Debugging category
(package private)  java.lang.Throwable nestedEx
          Nested exception
 
Fields inherited from class com.tripi.asp.AspException
ctx, desc, errorNumber
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
AspNestedException()
          Constructor with an empty exception.
AspNestedException(java.lang.Throwable ex)
          Constructor with no initial debugging context
AspNestedException(java.lang.Throwable ex, DebugContext ctx)
          Constructor with initial debugging context
AspNestedException(java.lang.Throwable ex, int errorNumber)
          Constructor with an error number and no initial debugging context
AspNestedException(java.lang.Throwable ex, int errorNumber, DebugContext ctx)
          Constructor with an error number and initial debugging context
 
Method Summary
 int AspCode()
          AspCode
 java.lang.String AspDescription()
          AspDescription
 int Category()
          Category
 void Clear()
          Clear this exception.
 int Column()
          Column
 java.lang.String Description()
          Description
 java.lang.String File()
          File
 int Line()
          Line
 int Number()
          Number
 void printStackTrace()
          printStackTrace prints the stack trace to System.err
 void printStackTrace(java.io.PrintStream s)
          printStackTrace prints the stack trace to the specified location
 void printStackTrace(java.io.PrintWriter s)
          printStackTrace prints the stack trace to the specified location
 void setContext(DebugContext ctx)
          Set this object's context.
 java.lang.String Source()
          Source
 java.lang.String toString()
          ToString
 
Methods inherited from class com.tripi.asp.AspException
getContext, hasContext
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DBG

org.apache.log4j.Category DBG
Debugging category


nestedEx

java.lang.Throwable nestedEx
Nested exception

Constructor Detail

AspNestedException

public AspNestedException()
Constructor with an empty exception.


AspNestedException

public AspNestedException(java.lang.Throwable ex)
Constructor with no initial debugging context


AspNestedException

public AspNestedException(java.lang.Throwable ex,
                          int errorNumber)
Constructor with an error number and no initial debugging context


AspNestedException

public AspNestedException(java.lang.Throwable ex,
                          DebugContext ctx)
Constructor with initial debugging context


AspNestedException

public AspNestedException(java.lang.Throwable ex,
                          int errorNumber,
                          DebugContext ctx)
Constructor with an error number and initial debugging context

Method Detail

setContext

public void setContext(DebugContext ctx)
Set this object's context.

Overrides:
setContext in class AspException

toString

public java.lang.String toString()
ToString

Overrides:
toString in class AspException

printStackTrace

public void printStackTrace(java.io.PrintStream s)
printStackTrace prints the stack trace to the specified location


printStackTrace

public void printStackTrace(java.io.PrintWriter s)
printStackTrace prints the stack trace to the specified location


printStackTrace

public void printStackTrace()
printStackTrace prints the stack trace to System.err


AspCode

public int AspCode()
AspCode

Overrides:
AspCode in class AspException

AspDescription

public java.lang.String AspDescription()
AspDescription

Overrides:
AspDescription in class AspException

Description

public java.lang.String Description()
Description

Overrides:
Description in class AspException

Category

public int Category()
Category

Overrides:
Category in class AspException

Column

public int Column()
Column

Overrides:
Column in class AspException

File

public java.lang.String File()
File

Overrides:
File in class AspException

Line

public int Line()
Line

Overrides:
Line in class AspException

Number

public int Number()
Number

Overrides:
Number in class AspException

Source

public java.lang.String Source()
Source

Overrides:
Source in class AspException

Clear

public void Clear()
Clear this exception.