|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dacf.util.errormanager.ErrorType
The ErrorType class provides the base methods for defining error types or categories. This class defines two types of errors:
Subclass ErrorType to define your own error types.
Field Summary | |
protected java.lang.String |
_type
|
static ErrorType |
ALL_TYPES
Used by filters to map all error types. |
static ErrorType |
UNDEFINED
Used to indicate an uncategorized error type. |
Constructor Summary | |
protected |
ErrorType(java.lang.String type)
Protected constructor used to create an error type. |
Method Summary | |
java.lang.String |
getLabel()
Returns the label used when displaying the type on the UI. |
java.lang.String |
toString()
Returns the string describing the type or category of the error. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final ErrorType ALL_TYPES
public static final ErrorType UNDEFINED
protected java.lang.String _type
Constructor Detail |
protected ErrorType(java.lang.String type)
type
- name of the error type.Method Detail |
public java.lang.String toString()
toString
in interface ErrorAttribute
toString
in class java.lang.Object
public java.lang.String getLabel()
getLabel
in interface ErrorAttribute
|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.