Class SmartInspectException

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    LoadConfigurationException, LoadConnectionsException, ProtocolException

    public class SmartInspectException
    extends Exception
    Used internally to report any kind of error. This is the base class for several exceptions which are mainly used for internal error reporting. However, it can be useful to have a look at its derived classes, LoadConnectionsException, LoadConfigurationException and ProtocolException, which provide additional information about occurred errors besides the normal exception message.

    This can be useful if you need to obtain more information about a particular error in the SmartInspectListener.onError event of the SmartInspect class.

    This class is not guaranteed to be threadsafe.

    See Also:
    Serialized Form
    • Constructor Detail

      • SmartInspectException

        public SmartInspectException​(String e)
        Creates and initializes a SmartInspectException instance.
        Parameters:
        e - The error message which describes the exception
      • SmartInspectException

        public SmartInspectException​(String fmt,
                                     Object[] args)
        Creates and initializes a SmartInspectException instance.
        Parameters:
        fmt - The format string to create a description of the exception
        args - The array of arguments for the format string