org.kahina.core.breakpoint
Class PatternFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.kahina.core.breakpoint.PatternFormatException
- All Implemented Interfaces:
- Serializable
public class PatternFormatException
- extends Exception
An exception type thrown when validating the values of a TreeNodePattern.
This type of exception is caught by the breakpoint editor in order to provide hints to the user.
- See Also:
- Serialized Form
PatternFormatException
public PatternFormatException(String desiredType,
String badString)
- Class constructor specifying desired type and value of the offending string.
- Parameters:
desiredType - the intended type of the offending stringbadString - the value of the offending string
getMessage
public String getMessage()
- Returns the error message as displayed e.g. in the breakpoint editor.
- Overrides:
getMessage in class Throwable