Class CometException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CometException
    extends java.lang.Exception
    implements java.io.Serializable
    The 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
      int getErrorCode()
      Gets error code.
      java.lang.String getMessage()  
      java.lang.String getServerModule()
      Gets server module.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 code
        serverModule - the server module
        errorMessage - the error message
    • Method Detail

      • getErrorCode

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

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

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable