Class InvalidUsageException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidUsageException
    extends java.lang.Exception
    InvalidUsageException is thrown when an invalid usage is detected by the class library.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected InvalidUsageException​(int readerHandle, java.lang.String sMessage, RFIDResults results)  
        InvalidUsageException​(java.lang.String sMessage, java.lang.String ErrorString)
      InvalidUsageException constructor with settable string and results enum.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getInfo()
      The RFIDResults associated with the exception.
      java.lang.String getTimeStamp()
      The timeStamp associated with the exception.
      java.lang.String getVendorMessage()
      The vendor message associated with the exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • InvalidUsageException

        public InvalidUsageException​(java.lang.String sMessage,
                                     java.lang.String ErrorString)
        InvalidUsageException constructor with settable string and results enum.
        Parameters:
        sMessage - A string the contains information about the exception
        ErrorString - Error string from string table
      • InvalidUsageException

        protected InvalidUsageException​(int readerHandle,
                                        java.lang.String sMessage,
                                        RFIDResults results)
    • Method Detail

      • getInfo

        public java.lang.String getInfo()
        The RFIDResults associated with the exception. An integer result that contains information about what caused the exception.
      • getTimeStamp

        public java.lang.String getTimeStamp()
        The timeStamp associated with the exception.
      • getVendorMessage

        public java.lang.String getVendorMessage()
        The vendor message associated with the exception.