java.lang.Object
io.getlime.core.rest.model.base.entity.Error
io.getlime.security.powerauth.app.tppengine.model.entity.TppEngineError

public class TppEngineError
extends io.getlime.core.rest.model.base.entity.Error
Error model, used to represent error responses.
Author:
Petr Dvorak, petr@wultra.com
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    class  TppEngineError.Code
    Response codes for different authentication failures.

    Nested classes/interfaces inherited from class io.getlime.core.rest.model.base.entity.Error

    io.getlime.core.rest.model.base.entity.Error.Message
  • Constructor Summary

    Constructors
    Constructor Description
    TppEngineError()
    Default constructor.
    TppEngineError​(String code, String message)
    Constructor accepting code and message.
  • Method Summary

    Modifier and Type Method Description
    String[] getCauses()
    Get the array of causes for this error.
    void setCauses​(String[] causes)
    Set the causes of this error.

    Methods inherited from class io.getlime.core.rest.model.base.entity.Error

    getCode, getMessage, setCode, setMessage

    Methods inherited from class java.lang.Object

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

    • TppEngineError

      public TppEngineError()
      Default constructor.
    • TppEngineError

      public TppEngineError​(String code, String message)
      Constructor accepting code and message.
      Parameters:
      code - Error code.
      message - Error message.
  • Method Details

    • setCauses

      public void setCauses​(String[] causes)
      Set the causes of this error.
      Parameters:
      causes - Array of causes for the error.
    • getCauses

      public String[] getCauses()
      Get the array of causes for this error.
      Returns:
      Array of causes for the error.