SourceForge Jpcap

net.sourceforge.jpcap.capture
Class JpcapException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sourceforge.jpcap.capture.JpcapException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CaptureConfigurationException, CaptureDeviceInvalidException, CaptureDeviceLookupException, CaptureDeviceNotFoundException, CaptureDeviceOpenException, CaptureFileOpenException, CapturePacketException, InvalidFilterException

public class JpcapException
extends Exception

JpcapException is the base class for all Jpcap exceptions.

Version:
$Revision: 1.1 $
Author:
Esmond Pitt
See Also:
Serialized Form

Constructor Summary
JpcapException()
          Creates a new instance of JpcapException without detail message.
JpcapException(String msg)
          Constructs an instance of JpcapException with the specified detail message.
JpcapException(Throwable detail)
          Constructs an instance of JpcapException with the specified detail message.
 
Method Summary
 
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

JpcapException

public JpcapException()
Creates a new instance of JpcapException without detail message.


JpcapException

public JpcapException(String msg)
Constructs an instance of JpcapException with the specified detail message.

Parameters:
msg - the detail message.

JpcapException

public JpcapException(Throwable detail)
Constructs an instance of JpcapException with the specified detail message.

Parameters:
detail - the detail exception.

Copyright © Patrick Charles & Jonas Lehmann, 2001; Esmond Pitt, 2008.