Package com.priint.comet.common
Class CometException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.priint.comet.common.CometException
-
- All Implemented Interfaces:
java.io.Serializable
public class CometException extends java.lang.Exception implements java.io.SerializableThe type Comet exception. For internal usage.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CometException()Instantiates a new Comet exception.CometException(int errorCode, java.lang.String serverModule, java.lang.String errorMessage)Instantiates a new Comet exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetErrorCode()Gets error code.java.lang.StringgetMessage()java.lang.StringgetServerModule()Gets server module.
-
-
-
Constructor Detail
-
CometException
public CometException()
Instantiates a new Comet exception.
-
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
-
-