com.dynamide.event
Class ErrorHandlerInfo

java.lang.Object
  extended by com.dynamide.event.ErrorHandlerInfo

public class ErrorHandlerInfo
extends java.lang.Object

When hookException is called to call the programmer's exception event, the exception category will be one of these values, which specify where the error occurred, e.g. EC_WIDGET means the exception occurred while trying to render a widget, while EC_PAGE means the exception occurred while trying to render a page.


Field Summary
 int category
           
static int EC_APPLICATION
          Exception Category
static int EC_PAGE
          Exception Category
static int EC_SESSION
          Exception Category
static int EC_SYSTEM
          Exception Category
static int EC_WIDGET
          Exception Category
 java.lang.String errorLink
           
 ScriptEvent event
           
 java.lang.Throwable throwable
           
 
Constructor Summary
ErrorHandlerInfo()
           
 
Method Summary
 java.lang.String getErrorCategory()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EC_APPLICATION

public static final int EC_APPLICATION
Exception Category

See Also:
Constant Field Values

EC_SESSION

public static final int EC_SESSION
Exception Category

See Also:
Constant Field Values

EC_PAGE

public static final int EC_PAGE
Exception Category

See Also:
Constant Field Values

EC_WIDGET

public static final int EC_WIDGET
Exception Category

See Also:
Constant Field Values

EC_SYSTEM

public static final int EC_SYSTEM
Exception Category

See Also:
Constant Field Values

category

public int category

throwable

public java.lang.Throwable throwable

event

public ScriptEvent event

errorLink

public java.lang.String errorLink
Constructor Detail

ErrorHandlerInfo

public ErrorHandlerInfo()
Method Detail

getErrorCategory

public java.lang.String getErrorCategory()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright 2001-2013 DYNAMIDE.COM. All Rights Reserved.