Package com.pubnub.api
Class PubNubRuntimeException.PubNubRuntimeExceptionBuilder
- java.lang.Object
-
- com.pubnub.api.PubNubRuntimeException.PubNubRuntimeExceptionBuilder
-
- Enclosing class:
- PubNubRuntimeException
public static class PubNubRuntimeException.PubNubRuntimeExceptionBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PubNubRuntimeException.PubNubRuntimeExceptionBuilder
affectedCall(retrofit2.Call affectedCall)
PubNubRuntimeException
build()
PubNubRuntimeException.PubNubRuntimeExceptionBuilder
cause(java.lang.Throwable cause)
PubNubRuntimeException.PubNubRuntimeExceptionBuilder
errormsg(java.lang.String errormsg)
PubNubRuntimeException.PubNubRuntimeExceptionBuilder
jso(com.google.gson.JsonElement jso)
PubNubRuntimeException.PubNubRuntimeExceptionBuilder
pubnubError(PubNubError pubnubError)
PubNubRuntimeException.PubNubRuntimeExceptionBuilder
response(java.lang.String response)
PubNubRuntimeException.PubNubRuntimeExceptionBuilder
statusCode(int statusCode)
java.lang.String
toString()
-
-
-
Method Detail
-
errormsg
public PubNubRuntimeException.PubNubRuntimeExceptionBuilder errormsg(java.lang.String errormsg)
- Returns:
this
.
-
pubnubError
public PubNubRuntimeException.PubNubRuntimeExceptionBuilder pubnubError(PubNubError pubnubError)
- Returns:
this
.
-
jso
public PubNubRuntimeException.PubNubRuntimeExceptionBuilder jso(com.google.gson.JsonElement jso)
- Returns:
this
.
-
response
public PubNubRuntimeException.PubNubRuntimeExceptionBuilder response(java.lang.String response)
- Returns:
this
.
-
statusCode
public PubNubRuntimeException.PubNubRuntimeExceptionBuilder statusCode(int statusCode)
- Returns:
this
.
-
affectedCall
public PubNubRuntimeException.PubNubRuntimeExceptionBuilder affectedCall(retrofit2.Call affectedCall)
- Returns:
this
.
-
cause
public PubNubRuntimeException.PubNubRuntimeExceptionBuilder cause(java.lang.Throwable cause)
- Returns:
this
.
-
build
public PubNubRuntimeException build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-