org.opennms.bb.common.filter.exceptions
Class IPOutOfRangeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.opennms.bb.common.filter.exceptions.FailedParseException
|
+--org.opennms.bb.common.filter.exceptions.IPOutOfRangeException
- All Implemented Interfaces:
- Serializable
- public class IPOutOfRangeException
- extends FailedParseException
This exception is used to indicate that an expression
rule contains an IP address that is out of range (ie.
at least one of the octets has a range outside of 0-255).
- Version:
- $Revision: 1.1 $
- Author:
- Jason Johns, OpenNMS
- See Also:
- Serialized Form
Method Summary |
String |
toString()
This method overrides the Exception.toString() to print
out the detail string. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
badRange
private String badRange
IPOutOfRangeException
public IPOutOfRangeException(String detail)
- Default constructor, calls the Exception constructor.
- Parameters:
String
- detail, information of the exception being thrown
toString
public String toString()
- Description copied from class:
FailedParseException
- This method overrides the Exception.toString() to print
out the detail string.
- Overrides:
toString
in class FailedParseException
- Following copied from class:
org.opennms.bb.common.filter.exceptions.FailedParseException
- Returns:
- String, the detail information.