Package com.gurock.smartinspect
Class SmartInspectException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.gurock.smartinspect.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 Summary
Constructors Constructor Description SmartInspectException(String e)Creates and initializes a SmartInspectException instance.SmartInspectException(String fmt, Object[] args)Creates and initializes a SmartInspectException instance.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SmartInspectException
public SmartInspectException(String e)
Creates and initializes a SmartInspectException instance.- Parameters:
e- The error message which describes the exception
-
-