Package com.pubnub.api
Class PubNubRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.pubnub.api.PubNubRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
public class PubNubRuntimeException extends java.lang.RuntimeException
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PubNubRuntimeException.PubNubRuntimeExceptionBuilder
-
Constructor Summary
Constructors Constructor Description PubNubRuntimeException(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 PubNubRuntimeException.PubNubRuntimeExceptionBuilder
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
-
PubNubRuntimeException
public PubNubRuntimeException(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 PubNubRuntimeException.PubNubRuntimeExceptionBuilder 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
-
-