org.jnetpcap.packet.structure
Class HeaderDefinitionError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jnetpcap.packet.structure.HeaderDefinitionError
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AnnotatedMethodException, FieldDefinitionException

public class HeaderDefinitionError
extends java.lang.RuntimeException

The Class HeaderDefinitionError.

Author:
Mark Bednarczyk, Sly Technologies, Inc.
See Also:
Serialized Form

Constructor Summary
HeaderDefinitionError(java.lang.Class<?> c)
          Instantiates a new header definition error.
HeaderDefinitionError(java.lang.Class<?> c, java.lang.String message)
          Instantiates a new header definition error.
HeaderDefinitionError(java.lang.Class<?> c, java.lang.String message, java.lang.Throwable cause)
          Instantiates a new header definition error.
HeaderDefinitionError(java.lang.Class<?> c, java.lang.Throwable cause)
          Instantiates a new header definition error.
HeaderDefinitionError(java.lang.String message)
          Instantiates a new header definition error.
HeaderDefinitionError(java.lang.String message, java.lang.Throwable cause)
          Instantiates a new header definition error.
HeaderDefinitionError(java.lang.Throwable cause)
          Instantiates a new header definition error.
 
Method Summary
 java.lang.Class<?> getHeader()
          Gets the header.
 java.lang.String getMessage()
          Gets the message.
protected  java.lang.String getPath()
          Gets the path.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

HeaderDefinitionError

public HeaderDefinitionError(java.lang.Class<?> c)
Instantiates a new header definition error.

Parameters:
c - the c

HeaderDefinitionError

public HeaderDefinitionError(java.lang.String message)
Instantiates a new header definition error.

Parameters:
message - the message

HeaderDefinitionError

public HeaderDefinitionError(java.lang.Class<?> c,
                             java.lang.String message)
Instantiates a new header definition error.

Parameters:
c - the c
message - the message

HeaderDefinitionError

public HeaderDefinitionError(java.lang.Throwable cause)
Instantiates a new header definition error.

Parameters:
cause - the cause

HeaderDefinitionError

public HeaderDefinitionError(java.lang.Class<?> c,
                             java.lang.Throwable cause)
Instantiates a new header definition error.

Parameters:
c - the c
cause - the cause

HeaderDefinitionError

public HeaderDefinitionError(java.lang.String message,
                             java.lang.Throwable cause)
Instantiates a new header definition error.

Parameters:
message - the message
cause - the cause

HeaderDefinitionError

public HeaderDefinitionError(java.lang.Class<?> c,
                             java.lang.String message,
                             java.lang.Throwable cause)
Instantiates a new header definition error.

Parameters:
c - the c
message - the message
cause - the cause
Method Detail

getHeader

public java.lang.Class<?> getHeader()
Gets the header.

Returns:
the header

getMessage

public java.lang.String getMessage()
Gets the message.

Overrides:
getMessage in class java.lang.Throwable
Returns:
the message
See Also:
Throwable.getMessage()

getPath

protected java.lang.String getPath()
Gets the path.

Returns:
the path