org.alicebot.server.core.util
Class NotAnAIMLPatternException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.alicebot.server.core.util.NotAnAIMLPatternException
All Implemented Interfaces:
java.io.Serializable

public class NotAnAIMLPatternException
extends java.lang.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

Constructor Summary
NotAnAIMLPatternException(java.lang.String message, java.lang.String pattern)
          Records the pattern and error message for this exception.
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotAnAIMLPatternException

public NotAnAIMLPatternException(java.lang.String message,
                                 java.lang.String pattern)
Records the pattern and error message for this exception.

Parameters:
message - the explanation why this pattern is invalid
pattern - the pattern itself
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable