Package com.cometchat.pro.exceptions
Class CometChatException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.cometchat.pro.exceptions.CometChatException
-
- All Implemented Interfaces:
java.io.Serializable
public class CometChatException extends java.lang.ExceptionA 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.StringgetCode()get the code of the exception occurredjava.lang.StringgetDetails()get the details of the exception occurred if anyvoidsetCode(java.lang.String code)voidsetDetails(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)
-
-