ztex
Class InvalidFirmwareException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ztex.InvalidFirmwareException
All Implemented Interfaces:
java.io.Serializable

public class InvalidFirmwareException
extends java.lang.Exception

Thrown if a device runs with no or the wrong firmware, i.e. if the ZTEX descriptor is not found or damaged.

See Also:
Serialized Form

Constructor Summary
InvalidFirmwareException(java.lang.String msg)
          Constructs an instance from the error message.
InvalidFirmwareException(Usb_Device dev)
          Constructs an instance from the given device and error message.
InvalidFirmwareException(Usb_Device dev, java.lang.String msg)
          Constructs an instance from the given device and error message.
InvalidFirmwareException(Ztex1 ztex)
          Constructs an instance from the given device and error message.
InvalidFirmwareException(Ztex1 ztex, java.lang.String msg)
          Constructs an instance from the given device and error message.
InvalidFirmwareException(ZtexDevice1 dev)
          Constructs an instance from the given device and error message.
InvalidFirmwareException(ZtexDevice1 dev, java.lang.String msg)
          Constructs an instance from the given device and error 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

InvalidFirmwareException

public InvalidFirmwareException(java.lang.String msg)
Constructs an instance from the error message.

Parameters:
msg - The error message.

InvalidFirmwareException

public InvalidFirmwareException(Ztex1 ztex,
                                java.lang.String msg)
Constructs an instance from the given device and error message.

Parameters:
ztex - The device.
msg - The error message.

InvalidFirmwareException

public InvalidFirmwareException(ZtexDevice1 dev,
                                java.lang.String msg)
Constructs an instance from the given device and error message.

Parameters:
dev - The device.
msg - The error message.

InvalidFirmwareException

public InvalidFirmwareException(Usb_Device dev,
                                java.lang.String msg)
Constructs an instance from the given device and error message.

Parameters:
dev - The device.
msg - The error message.

InvalidFirmwareException

public InvalidFirmwareException(Ztex1 ztex)
Constructs an instance from the given device and error message.

Parameters:
ztex - The device.

InvalidFirmwareException

public InvalidFirmwareException(ZtexDevice1 dev)
Constructs an instance from the given device and error message.

Parameters:
dev - The device.

InvalidFirmwareException

public InvalidFirmwareException(Usb_Device dev)
Constructs an instance from the given device and error message.

Parameters:
dev - The device.