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

Field Summary
private  String badRange
           
 
Fields inherited from class org.opennms.bb.common.filter.exceptions.FailedParseException
detail
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
IPOutOfRangeException(String detail)
          Default constructor, calls the Exception constructor.
 
Method Summary
 String toString()
          This method overrides the Exception.toString() to print out the detail string.
 
Methods inherited from class org.opennms.bb.common.filter.exceptions.FailedParseException
addDetail
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

badRange

private String badRange
Constructor Detail

IPOutOfRangeException

public IPOutOfRangeException(String detail)
Default constructor, calls the Exception constructor.
Parameters:
String - detail, information of the exception being thrown
Method Detail

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.