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 classPubNubRuntimeException.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.PubNubRuntimeExceptionBuilderbuilder()java.lang.ThrowablegetCause()java.lang.StringgetErrormsg()com.google.gson.JsonElementgetJso()java.lang.StringgetMessage()PubNubErrorgetPubnubError()java.lang.StringgetResponse()intgetStatusCode()java.lang.StringtoString()
-
-
-
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:
getCausein classjava.lang.Throwable
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessagein 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:
toStringin classjava.lang.Throwable
-
-