Enum Class ViewError

java.lang.Object
java.lang.Enum<ViewError>
com.subaio.fintechbridge.ViewError
All Implemented Interfaces:
Serializable, Comparable<ViewError>, Constable

public enum ViewError extends Enum<ViewError>
An error either in the initialization or the execution of a `BridgeView`.
  • Enum Constant Details

    • NO_TEMPLATE

      public static final ViewError NO_TEMPLATE
      Failed to load the template data necessary to initialize the view. No content will be shown. This error should be handled by the host application.
    • VIEW_TIMED_OUT

      public static final ViewError VIEW_TIMED_OUT
      The view has failed to initialize for some reason. Placeholder-content will likely have been shown, but is removed when this error occurs after 30 seconds. This error should be handled by the host application.
    • INTERNAL_ERROR

      public static final ViewError INTERNAL_ERROR
      An error has occured inside the webview. A localized error-page will be shown in the webview. The host application does not need to handle this error. It is included mainly for logging-purposes and to allow the host application to keep a consistent error-page if that is desired.
    • UNDERLYING

      public static final ViewError UNDERLYING
      Currently unused
  • Method Details

    • values

      public static ViewError[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ViewError valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getType

      public String getType()