Package com.pubnub.api
Class PubNubException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.pubnub.api.PubNubException
-
- All Implemented Interfaces:
java.io.Serializable
public class PubNubException extends java.lang.Exception
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PubNubException.PubNubExceptionBuilder
-
Constructor Summary
Constructors Constructor Description PubNubException(java.lang.String errormsg, PubNubError pubnubError, com.google.gson.JsonElement jso, java.lang.String response, int statusCode, retrofit2.Call affectedCall, java.lang.Throwable cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PubNubException.PubNubExceptionBuilder
builder()
java.lang.Throwable
getCause()
java.lang.String
getErrormsg()
com.google.gson.JsonElement
getJso()
java.lang.String
getMessage()
PubNubError
getPubnubError()
java.lang.String
getResponse()
int
getStatusCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
PubNubException
public PubNubException(java.lang.String errormsg, PubNubError pubnubError, com.google.gson.JsonElement jso, java.lang.String response, int statusCode, retrofit2.Call affectedCall, java.lang.Throwable cause)
-
-
Method Detail
-
getCause
public java.lang.Throwable getCause()
- Overrides:
getCause
in classjava.lang.Throwable
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
builder
public static PubNubException.PubNubExceptionBuilder builder()
-
getErrormsg
public java.lang.String getErrormsg()
-
getPubnubError
public PubNubError getPubnubError()
-
getJso
public com.google.gson.JsonElement getJso()
-
getResponse
public java.lang.String getResponse()
-
getStatusCode
public int getStatusCode()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Throwable
-
-