Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • PowerAuthEncryptionException

        public PowerAuthEncryptionException()
        Default constructor
      • PowerAuthEncryptionException

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

      • getDefaultCode

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