org.aitools.programd.util
Class NotAnAIMLPatternException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.aitools.programd.util.NotAnAIMLPatternException
- All Implemented Interfaces:
- Serializable
public class NotAnAIMLPatternException
- extends Exception
Thrown by PatternArbiter when it gets a pattern candidate that does
not meet the definition of an AIML pattern.
- Author:
- Noel Bush
- See Also:
- Serialized Form
NotAnAIMLPatternException
public NotAnAIMLPatternException(String message,
String patternToUse)
- Records the pattern and error message for this exception.
- Parameters:
message - the explanation why this pattern is invalidpatternToUse - the pattern itself
getMessage
public String getMessage()
- Overrides:
getMessage in class Throwable
- See Also:
Throwable.getMessage()