Class DataAdapterClientErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.getlime.security.powerauth.lib.dataadapter.client.DataAdapterClientErrorException
- All Implemented Interfaces:
java.io.Serializable
public class DataAdapterClientErrorException
extends java.lang.Exception
Exception thrown from the data adapter in case of an error.
- Author:
- Petr Dvorak, petr@wultra.com
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DataAdapterClientErrorException()Default constructor.DataAdapterClientErrorException(java.lang.Throwable cause)Constructor with cause.DataAdapterClientErrorException(java.lang.Throwable cause, io.getlime.security.powerauth.lib.dataadapter.model.entity.DataAdapterError error)Constructor with cause and error. -
Method Summary
Modifier and Type Method Description io.getlime.security.powerauth.lib.dataadapter.model.entity.DataAdapterErrorgetError()Get data adapter error.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
DataAdapterClientErrorException
public DataAdapterClientErrorException()Default constructor. -
DataAdapterClientErrorException
public DataAdapterClientErrorException(java.lang.Throwable cause)Constructor with cause.- Parameters:
cause- Exception cause.
-
DataAdapterClientErrorException
public DataAdapterClientErrorException(java.lang.Throwable cause, io.getlime.security.powerauth.lib.dataadapter.model.entity.DataAdapterError error)Constructor with cause and error.- Parameters:
cause- Exception cause.error- Data adapter error.
-
-
Method Details
-
getError
public io.getlime.security.powerauth.lib.dataadapter.model.entity.DataAdapterError getError()Get data adapter error.- Returns:
- Data adapter error.
-