Package com.caen.RFIDLibrary
Class CAENRFIDException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.caen.RFIDLibrary.CAENRFIDException
-
- All Implemented Interfaces:
Serializable
public final class CAENRFIDException extends Exception
This class defines the CAEN RFID Exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CAENRFIDException()Creates a new instance of CAENRFIDExceptionCAENRFIDException(String error)Creates a new instance of CAENRFIDExceptionCAENRFIDException(String error, ArrayList<CAENRFIDTag> tags)Creates a new instance of CAENRFIDException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetError()Get a description of the error.ArrayList<CAENRFIDTag>getTags()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CAENRFIDException
public CAENRFIDException()
Creates a new instance of CAENRFIDException
-
CAENRFIDException
public CAENRFIDException(String error)
Creates a new instance of CAENRFIDException- Parameters:
error- The error String
-
CAENRFIDException
public CAENRFIDException(String error, ArrayList<CAENRFIDTag> tags)
Creates a new instance of CAENRFIDException.- Parameters:
error- The message of the error.tags- The tags detected at the moment of the exception throw.
-
-
Method Detail
-
getError
public String getError()
Get a description of the error.- Returns:
- The string of representing the error.
-
getTags
public ArrayList<CAENRFIDTag> getTags()
-
-