Class CometException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.priint.pubserver.exception.PubServerException
-
- com.priint.pubserver.comet.exception.CometException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CometCScriptException,ConfigNotFoundException,ContainerEmptyException,OperationUnsupportedException,SessionInvalidOrExpiredException,UnresolvedDependenciesException
public class CometException extends PubServerException
Base class for Exceptions thrown in the DatabasePublishing context- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringERROR_CONTEXTThe constant ERROR_CONTEXT "com.priint.pubserver.comet.config.CometConfiguration".static intGENERIC_ERRORThe constant GENERIC_ERROR "-1".
-
Constructor Summary
Constructors Constructor Description CometException()Instantiates a new Comet exception.CometException(int errorCode, java.lang.Object caller, java.lang.String errorMessage)Instantiates a new Comet exception.CometException(int errorCode, java.lang.Object caller, java.lang.Throwable cause)Instantiates a new Comet exception.CometException(int errorCode, java.lang.String serverModule, java.lang.String errorMessage)Instantiates a new Comet exception.CometException(java.lang.Object caller, java.lang.String errorMessage)Instantiates a new Comet exception.CometException(java.lang.Object caller, java.lang.String message, java.lang.Throwable cause)Instantiates a new Comet exception.CometException(java.lang.Object caller, java.lang.Throwable cause)Instantiates a new Comet exception.CometException(java.lang.Throwable cause)Instantiates a new Comet exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablegetCause()-
Methods inherited from class com.priint.pubserver.exception.PubServerException
getCode, getErrorCodeInfo, getErrorsStack, getExceptionsStack, getFormattedMessage, getFormattedMessageTrace, getMessageStack, getModule, getParameters, retrieveErrorCodeInfo, retrieveErrorsStack
-
-
-
-
Field Detail
-
ERROR_CONTEXT
public static final java.lang.String ERROR_CONTEXT
The constant ERROR_CONTEXT "com.priint.pubserver.comet.config.CometConfiguration".- See Also:
- Constant Field Values
-
GENERIC_ERROR
public static final int GENERIC_ERROR
The constant GENERIC_ERROR "-1".- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CometException
public CometException()
Instantiates a new Comet exception.
-
CometException
public CometException(int errorCode, java.lang.Object caller, java.lang.String errorMessage)Instantiates a new Comet exception.- Parameters:
errorCode- the error codecaller- the callererrorMessage- the error message
-
CometException
public CometException(java.lang.Object caller, java.lang.String errorMessage)Instantiates a new Comet exception.- Parameters:
caller- the callererrorMessage- the error message
-
CometException
public CometException(int errorCode, java.lang.String serverModule, java.lang.String errorMessage)Instantiates a new Comet exception.- Parameters:
errorCode- the error codeserverModule- the server moduleerrorMessage- the error message
-
CometException
public CometException(int errorCode, java.lang.Object caller, java.lang.Throwable cause)Instantiates a new Comet exception.- Parameters:
errorCode- the error codecaller- the callercause- the cause
-
CometException
public CometException(java.lang.Object caller, java.lang.Throwable cause)Instantiates a new Comet exception.- Parameters:
caller- the callercause- the cause
-
CometException
public CometException(java.lang.Object caller, java.lang.String message, java.lang.Throwable cause)Instantiates a new Comet exception.- Parameters:
caller- the callermessage- the messagecause- the cause
-
CometException
public CometException(java.lang.Throwable cause)
Instantiates a new Comet exception.- Parameters:
cause- the cause
-
-