Class PowerAuthEncryptionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
io.getlime.security.powerauth.rest.api.base.exception.PowerAuthEncryptionException
All Implemented Interfaces:
java.io.Serializable

public class PowerAuthEncryptionException
extends java.lang.Exception
Exception raised in case encryption or decryption fails.
Author:
Roman Strobl, roman.strobl@wultra.com
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    PowerAuthEncryptionException()
    Default constructor
    PowerAuthEncryptionException​(java.lang.String message)
    Constructor with a custom error message
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getDefaultCode()
    Get the default error code, used for example in REST response.

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PowerAuthEncryptionException

      public PowerAuthEncryptionException()
      Default constructor
    • PowerAuthEncryptionException

      public PowerAuthEncryptionException​(java.lang.String message)
      Constructor with a custom error message
      Parameters:
      message - Error message
  • Method Details

    • getDefaultCode

      public java.lang.String getDefaultCode()
      Get the default error code, used for example in REST response.
      Returns:
      Default error code.