Package com.snowbound.contenthandler
Class VirtualViewerAPIException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.snowbound.contenthandler.VirtualViewerAPIException
-
- All Implemented Interfaces:
java.io.Serializable
public class VirtualViewerAPIException extends java.lang.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(java.lang.Exception cause)
VirtualViewerAPIException(java.lang.String message)
VirtualViewerAPIException(java.lang.String message, java.lang.Exception cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getUserAppropriateMessage()
-
-
-
Constructor Detail
-
VirtualViewerAPIException
public VirtualViewerAPIException(java.lang.Exception cause)
- Parameters:
cause
- original causal exception
-
VirtualViewerAPIException
public VirtualViewerAPIException(java.lang.String message, java.lang.Exception cause)
- Parameters:
message
- The message to be displayed to the usercause
- original causal exception
-
VirtualViewerAPIException
public VirtualViewerAPIException(java.lang.String message)
- Parameters:
message
- The message to be displayed to the user
-
-