viper.descriptors
Class ImproperDescriptorException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byedu.umd.cfar.lamp.viper.util.BadDataException
              extended byviper.descriptors.ImproperDescriptorException
All Implemented Interfaces:
java.io.Serializable

public class ImproperDescriptorException
extends BadDataException

Indicates a descriptor was attempted to be used that was not defined in the descriptor config section.

See Also:
Serialized Form

Constructor Summary
ImproperDescriptorException()
          Constructs a new exception with no detail message.
ImproperDescriptorException(java.lang.String s)
          Constructs a new exception with the given detail message.
ImproperDescriptorException(java.lang.String s, int startCharacter, int endCharacter)
          Constructs a new exception with the given detail message and line localization information.
 
Methods inherited from class edu.umd.cfar.lamp.viper.util.BadDataException
getEnd, getStart, isChar
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

ImproperDescriptorException

public ImproperDescriptorException()
Constructs a new exception with no detail message.


ImproperDescriptorException

public ImproperDescriptorException(java.lang.String s)
Constructs a new exception with the given detail message.

Parameters:
s - the detail message

ImproperDescriptorException

public ImproperDescriptorException(java.lang.String s,
                                   int startCharacter,
                                   int endCharacter)
Constructs a new exception with the given detail message and line localization information.

Parameters:
s - the detail message
startCharacter - the first character where the error may have started
endCharacter - the last character of the error region