Class CometChatException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CometChatException
    extends java.lang.Exception
    A class to inform the developers about any error or exception that has occurred Created by adityagokula on 04/09/18.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CometChatException​(java.lang.String code, java.lang.String message)  
      CometChatException​(java.lang.String code, java.lang.String message, java.lang.String details)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCode()
      get the code of the exception occurred
      java.lang.String getDetails()
      get the details of the exception occurred if any
      void setCode​(java.lang.String code)  
      void setDetails​(java.lang.String details)  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

      • CometChatException

        public CometChatException​(java.lang.String code,
                                  java.lang.String message)
      • CometChatException

        public CometChatException​(java.lang.String code,
                                  java.lang.String message,
                                  java.lang.String details)
    • Method Detail

      • getCode

        public java.lang.String getCode()
        get the code of the exception occurred
        Since:
        v1
      • setCode

        public void setCode​(java.lang.String code)
      • getDetails

        public java.lang.String getDetails()
        get the details of the exception occurred if any
        Since:
        v1
      • setDetails

        public void setDetails​(java.lang.String details)