org.jnetpcap.packet.structure
Class AnnotatedMethodException

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
                  extended by org.jnetpcap.packet.structure.AnnotatedMethodException
All Implemented Interfaces:
java.io.Serializable

public class AnnotatedMethodException
extends HeaderDefinitionError

The Class AnnotatedMethodException.

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

Constructor Summary
AnnotatedMethodException(java.lang.Class<?> c)
          Instantiates a new annotated method exception.
AnnotatedMethodException(java.lang.Class<?> c, java.lang.String message)
          Instantiates a new annotated method exception.
AnnotatedMethodException(java.lang.Class<?> c, java.lang.String message, java.lang.Throwable cause)
          Instantiates a new annotated method exception.
AnnotatedMethodException(java.lang.Class<?> c, java.lang.Throwable cause)
          Instantiates a new annotated method exception.
AnnotatedMethodException(java.lang.String message)
          Instantiates a new annotated method exception.
AnnotatedMethodException(java.lang.String message, java.lang.Throwable cause)
          Instantiates a new annotated method exception.
AnnotatedMethodException(java.lang.Throwable cause)
          Instantiates a new annotated method exception.
 
Method Summary
 java.lang.Class<?> getHeader()
          Gets the header.
 
Methods inherited from class org.jnetpcap.packet.structure.HeaderDefinitionError
getMessage, getPath
 
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

AnnotatedMethodException

public AnnotatedMethodException(java.lang.Class<?> c)
Instantiates a new annotated method exception.

Parameters:
c - the c

AnnotatedMethodException

public AnnotatedMethodException(java.lang.String message)
Instantiates a new annotated method exception.

Parameters:
message - the message

AnnotatedMethodException

public AnnotatedMethodException(java.lang.Class<?> c,
                                java.lang.String message)
Instantiates a new annotated method exception.

Parameters:
c - the c
message - the message

AnnotatedMethodException

public AnnotatedMethodException(java.lang.Throwable cause)
Instantiates a new annotated method exception.

Parameters:
cause - the cause

AnnotatedMethodException

public AnnotatedMethodException(java.lang.Class<?> c,
                                java.lang.Throwable cause)
Instantiates a new annotated method exception.

Parameters:
c - the c
cause - the cause

AnnotatedMethodException

public AnnotatedMethodException(java.lang.String message,
                                java.lang.Throwable cause)
Instantiates a new annotated method exception.

Parameters:
message - the message
cause - the cause

AnnotatedMethodException

public AnnotatedMethodException(java.lang.Class<?> c,
                                java.lang.String message,
                                java.lang.Throwable cause)
Instantiates a new annotated method exception.

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

getHeader

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

Overrides:
getHeader in class HeaderDefinitionError
Returns:
the header
See Also:
HeaderDefinitionError.getHeader()