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

Quick Search    Search Deep

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

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.tripi.asp.AspException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AspCastException, AspEmptyException, AspExitException, AspInvalidArgumentsException, AspNestedException, AspNotImplementedException, AspOverflowException, AspReadOnlyException, AspRedefineIdentException, AspSubscriptOutOfRangeException, AspTimeoutException

public class AspException
extends java.lang.Exception

Base class of exceptions throws from internal ASP classes.

Version:
0.9

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
(package private)  DebugContext ctx
          Context of this exception
(package private)  java.lang.String desc
          Short description of this exception
(package private)  int errorNumber
          Number assocated with this error
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
AspException(java.lang.String desc)
          Constructor with no initial debugging context.
AspException(java.lang.String desc, DebugContext ctx)
          Constructor with the short description of the string, and the debugging context of the exception.
AspException(java.lang.String desc, int errorNumber)
          Constructor with no initial debugging context, and an error number set.
AspException(java.lang.String desc, int errorNumber, DebugContext ctx)
          Constructor with the short description of the string, an error number, and the debugging context of the exception.
 
Method Summary
 int AspCode()
          AspCode
 java.lang.String AspDescription()
          AspDescription
 int Category()
          Category
 int Column()
          Column
 java.lang.String Description()
          Description
 java.lang.String File()
          File
 DebugContext getContext()
          Gets this exception's context.
 boolean hasContext()
          Checks if this exception has its context.
 int Line()
          Line
 int Number()
          Number
 void setContext(DebugContext ctx)
          Sets this exception's context.
 java.lang.String Source()
          Source
 java.lang.String toString()
          Obtains the short description of this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ctx

DebugContext ctx
Context of this exception


desc

java.lang.String desc
Short description of this exception


errorNumber

int errorNumber
Number assocated with this error

Constructor Detail

AspException

public AspException(java.lang.String desc)
Constructor with no initial debugging context.


AspException

public AspException(java.lang.String desc,
                    int errorNumber)
Constructor with no initial debugging context, and an error number set.


AspException

public AspException(java.lang.String desc,
                    DebugContext ctx)
Constructor with the short description of the string, and the debugging context of the exception.


AspException

public AspException(java.lang.String desc,
                    int errorNumber,
                    DebugContext ctx)
Constructor with the short description of the string, an error number, and the debugging context of the exception.

Method Detail

hasContext

public boolean hasContext()
Checks if this exception has its context.


setContext

public void setContext(DebugContext ctx)
Sets this exception's context.


getContext

public DebugContext getContext()
Gets this exception's context.


toString

public java.lang.String toString()
Obtains the short description of this exception.


AspCode

public int AspCode()
AspCode


AspDescription

public java.lang.String AspDescription()
AspDescription


Description

public java.lang.String Description()
Description


Category

public int Category()
Category


Column

public int Column()
Column


File

public java.lang.String File()
File


Line

public int Line()
Line


Number

public int Number()
Number


Source

public java.lang.String Source()
Source