com.caen.RFIDLibrary
Class CAENRFIDException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.caen.RFIDLibrary.CAENRFIDException
All Implemented Interfaces:
java.io.Serializable

public final class CAENRFIDException
extends java.lang.Exception

This class defines the CAEN RFID Exception.

See Also:
Serialized Form

Constructor Summary
CAENRFIDException()
          Creates a new instance of CAENRFIDException
CAENRFIDException(java.lang.String error)
          Creates a new instance of CAENRFIDException
CAENRFIDException(java.lang.String error, java.util.ArrayList tags)
          Creates a new instance of CAENRFIDException(this constructor is present only in java implementation and not in .NET one).
 
Method Summary
 java.lang.String getError()
          This method gets the error string associated to the exception.
protected  java.util.ArrayList<CAENRFIDTag> getTags()
           
 
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

CAENRFIDException

public CAENRFIDException()
Creates a new instance of CAENRFIDException


CAENRFIDException

public CAENRFIDException(java.lang.String error)
Creates a new instance of CAENRFIDException

Parameters:
error - The error String

CAENRFIDException

public CAENRFIDException(java.lang.String error,
                         java.util.ArrayList tags)
Creates a new instance of CAENRFIDException(this constructor is present only in java implementation and not in .NET one).

Parameters:
error - The error String
tags - The tags detected at the moment of the exception throw
Method Detail

getError

public java.lang.String getError()
This method gets the error string associated to the exception.

Returns:
The string error.

getTags

protected java.util.ArrayList<CAENRFIDTag> getTags()