public class RuleException
extends java.lang.Object
History:
| Constructor and Description |
|---|
RuleException(java.lang.String exceptionStr)
Create an object of rule exception, using a string to define the
exception.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(RuleException exception)
Check if the current exception is the same as a specific exception.
|
java.lang.String |
GetExceptionStr()
Get the exception string of current exception.
|
java.lang.String |
GetKey()
Get the key (matching string pattern) of current exception.
|
java.lang.String |
GetValue()
Get the key (matching string pattern) of current exception.
|
boolean |
IsLegalFormat()
Check if the exception string is legal.
|
static void |
main(java.lang.String[] args)
A test driver of this class.
|
void |
Reverse()
Reverse the exception string.
|
public RuleException(java.lang.String exceptionStr)
exceptionStr - exception string for rules, key|valuepublic void Reverse()
public boolean equals(RuleException exception)
exception - rule exceptionpublic java.lang.String GetKey()
public java.lang.String GetValue()
public java.lang.String GetExceptionStr()
public boolean IsLegalFormat()
public static void main(java.lang.String[] args)
args - arguments