it.jnrpe.utils.thresholds
Class InvalidRangeSyntaxException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.jnrpe.utils.BadThresholdException
it.jnrpe.utils.thresholds.RangeException
it.jnrpe.utils.thresholds.InvalidRangeSyntaxException
- All Implemented Interfaces:
- Serializable
public class InvalidRangeSyntaxException
- extends RangeException
Exception thrown when a range syntax error is found.
- Author:
- Massimiliano Ziccardi
- See Also:
- Serialized Form
InvalidRangeSyntaxException
public InvalidRangeSyntaxException(it.jnrpe.utils.thresholds.Stage stage,
String found)
- Builds the exception specifying the stage and the range string.
- Parameters:
stage
- The stage that caused the error.found
- The string that caused the error.
InvalidRangeSyntaxException
public InvalidRangeSyntaxException(it.jnrpe.utils.thresholds.Stage stage,
String found,
String wholeString)
- Builds the exception specifying the stage, the bad tokens and the whole
string.
- Parameters:
stage
- The stage that caused the error.found
- The string that caused the error.wholeString
- The whole range string.
getMessage
public final String getMessage()
- Overrides:
getMessage
in class RangeException
- Returns:
- the exception message
Copyright © 2014. All Rights Reserved.