Package io.getlime.push.client
Class PushServerClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.getlime.push.client.PushServerClientException
- All Implemented Interfaces:
Serializable
Class representing a simple push server client error exception.
The detailed information about the error can be obtained by calling
'getError' method.
- Author:
- Petr Dvorak, petr@wultra.com
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPushServerClientException(io.getlime.core.rest.model.base.entity.Error error) Constructor with error object.PushServerClientException(String message) Constructor with message.PushServerClientException(String message, io.getlime.core.rest.model.base.entity.Error error) Constructor with message and error object.PushServerClientException(String message, Throwable cause) Constructor with message, cause and error object.PushServerClientException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, io.getlime.core.rest.model.base.entity.Error error) Constructor with message, cause, error object, that also contains flags if there is writable stack trace and if suppression is possible.PushServerClientException(String message, Throwable cause, io.getlime.core.rest.model.base.entity.Error error) Constructor with message, cause and error object.PushServerClientException(Throwable cause, io.getlime.core.rest.model.base.entity.Error error) Constructor with cause and error object. -
Method Summary
Modifier and TypeMethodDescriptionio.getlime.core.rest.model.base.entity.ErrorgetError()Get error object.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PushServerClientException
Constructor with message.- Parameters:
message- Message.
-
PushServerClientException
public PushServerClientException(io.getlime.core.rest.model.base.entity.Error error) Constructor with error object.- Parameters:
error- Error object.
-
PushServerClientException
public PushServerClientException(String message, io.getlime.core.rest.model.base.entity.Error error) Constructor with message and error object.- Parameters:
message- Message.error- Error object.
-
PushServerClientException
public PushServerClientException(String message, Throwable cause, io.getlime.core.rest.model.base.entity.Error error) Constructor with message, cause and error object.- Parameters:
message- Message.cause- Cause.error- Error object.
-
PushServerClientException
Constructor with message, cause and error object.- Parameters:
message- Message.cause- Cause.
-
PushServerClientException
public PushServerClientException(Throwable cause, io.getlime.core.rest.model.base.entity.Error error) Constructor with cause and error object.- Parameters:
cause- Cause.error- Error object.
-
PushServerClientException
public PushServerClientException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, io.getlime.core.rest.model.base.entity.Error error) Constructor with message, cause, error object, that also contains flags if there is writable stack trace and if suppression is possible.- Parameters:
message- Message.cause- Cause.enableSuppression- Flag indicating if suppression is enabled.writableStackTrace- Flag indicating if the stack trace is writable.error- Error object.
-
-
Method Details
-
getError
public io.getlime.core.rest.model.base.entity.Error getError()Get error object.- Returns:
- Error object.
-