Package com.snowbound.contenthandler
Class VirtualViewerAPIException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.snowbound.contenthandler.VirtualViewerAPIException
-
- All Implemented Interfaces:
Serializable
public class VirtualViewerAPIException extends Exception
Exception base class for exceptions thrown by a content handler API method. All VirtualViewerAPIExceptions will be logged, propagated to the client, and their message shown to the user in the form of an immediate alert.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VirtualViewerAPIException(Exception cause)
VirtualViewerAPIException(String message)
VirtualViewerAPIException(String message, Exception cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
VirtualViewerAPIException
public VirtualViewerAPIException(Exception cause)
- Parameters:
cause
- original causal exception
-
VirtualViewerAPIException
public VirtualViewerAPIException(String message, Exception cause)
- Parameters:
message
- The message to be displayed to the usercause
- original causal exception
-
VirtualViewerAPIException
public VirtualViewerAPIException(String message)
- Parameters:
message
- The message to be displayed to the user
-
-