org.osconsulting.jerr
Class JErrCategoryBase

java.lang.Object
  extended by org.osconsulting.jerr.JErrCategoryBase
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
JErrCategory

public abstract class JErrCategoryBase
extends java.lang.Object
implements java.io.Serializable

JErrorCategory is the base class of all JErrorCategories. The user must extend this class and list all ErrorCodes for this new category. See JErrErrorCategory for an example implementation.

Author:
kstam Copyright 2006 osConsulting.org Kurt Stam and Shahar Bar
See Also:
Serialized Form

Constructor Summary
JErrCategoryBase()
           
 
Method Summary
 java.util.List<JErrCode> getErrorCodeList()
          Returns a list of JErrorCodes of all errorCode defined in the current JErrorCategory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JErrCategoryBase

public JErrCategoryBase()
Method Detail

getErrorCodeList

public java.util.List<JErrCode> getErrorCodeList()
                                          throws java.lang.IllegalAccessException
Returns a list of JErrorCodes of all errorCode defined in the current JErrorCategory.

Returns:
- List of all JErrorCodes defined in this category.
Throws:
java.lang.IllegalAccessException - if an JErrorCode field is inaccessable


Copyright © 2006-2007. All Rights Reserved.