Enum ViewError

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

public enum ViewError
extends java.lang.Enum<ViewError>
An error either in the initialization or the execution of a `BridgeView`.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant Description
    INTERNAL_ERROR
    An error has occured inside the webview.
    NO_TEMPLATE
    Failed to load the template data necessary to initialize the view.
    UNDERLYING
    Currently unused
    VIEW_TIMED_OUT
    The view has failed to initialize for some reason.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getType()  
    static ViewError valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static ViewError[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • 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 type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ViewError valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
    • getType

      public java.lang.String getType()