Package com.subaio.fintechbridge
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
-
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 unusedVIEW_TIMED_OUT
The view has failed to initialize for some reason. -
Method Summary
-
Enum Constant Details
-
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
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
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
Currently unused
-
-
Method Details
-
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
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 namejava.lang.NullPointerException
- if the argument is null
-
getType
public java.lang.String getType()
-