Class CometException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.priint.comet.common.CometException
All Implemented Interfaces:
Serializable

public class CometException extends Exception implements Serializable
The type Comet exception. For internal usage.
See Also:
  • Constructor Details

    • CometException

      public CometException()
      Instantiates a new Comet exception.
    • CometException

      public CometException(int errorCode, String serverModule, String errorMessage)
      Instantiates a new Comet exception.
      Parameters:
      errorCode - the error code
      serverModule - the server module
      errorMessage - the error message
  • Method Details

    • getErrorCode

      public int getErrorCode()
      Gets error code.
      Returns:
      the error code
    • getServerModule

      public String getServerModule()
      Gets server module.
      Returns:
      the server module
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable