Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.9.0)
E52936-01


oracle.adf.view.rich.model
Enum RemoteRegionErrorEvent.Type

java.lang.Object
  extended by java.lang.Enum<RemoteRegionErrorEvent.Type>
      extended by oracle.adf.view.rich.model.RemoteRegionErrorEvent.Type

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RemoteRegionErrorEvent.Type>
Enclosing class:
RemoteRegionErrorEvent

public static enum RemoteRegionErrorEvent.Type
extends java.lang.Enum<RemoteRegionErrorEvent.Type>

This is the type of the RemoteRegionErrorEvent being delivered. If the Error Event is not cause by one of these types then UNDEFINED will be returned. Keep in mind that other event types may be added in the future.


Enum Constant Summary
AUTHORIZATION_ERROR
          Indicates that whatever task flow was being accessed on the producer, the consumer was unable to send the producer proper authorization.
CONNECTION_ERROR
          Indicates that there was an error while trying to connect to the host.
CONNECTION_TIMEOUT_ERROR
          Indicates that there was an timout while trying to connect to the host.
HTTP_ERROR
          Indicates that an HTTP Error was returned by the server.
SOCKET_TIMEOUT_ERROR
          Indicates that there was a socket timeout while trying to fetch content from the producer.
UNDEFINED
          Errors other then the types defined above will returned the UNDEFINED type.

 

Method Summary
static RemoteRegionErrorEvent.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RemoteRegionErrorEvent.Type[] 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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

AUTHORIZATION_ERROR

public static final RemoteRegionErrorEvent.Type AUTHORIZATION_ERROR
Indicates that whatever task flow was being accessed on the producer, the consumer was unable to send the producer proper authorization. Many times this is an indication that authorization is misconfigured.

CONNECTION_ERROR

public static final RemoteRegionErrorEvent.Type CONNECTION_ERROR
Indicates that there was an error while trying to connect to the host. This typically indicates that the remote HTTP Server is not up or that its resources are not available.

CONNECTION_TIMEOUT_ERROR

public static final RemoteRegionErrorEvent.Type CONNECTION_TIMEOUT_ERROR
Indicates that there was an timout while trying to connect to the host. This typically indicates that the remote HTTP Server is busy or in a bad state and is not ready to provide a connection.

SOCKET_TIMEOUT_ERROR

public static final RemoteRegionErrorEvent.Type SOCKET_TIMEOUT_ERROR
Indicates that there was a socket timeout while trying to fetch content from the producer. This typically indicates that the producer is running some logic that is taking a long time to process.

HTTP_ERROR

public static final RemoteRegionErrorEvent.Type HTTP_ERROR
Indicates that an HTTP Error was returned by the server. Events of this type will actually be an instance of RemoteRegionHttpErrorEvent which will also contain information on the actual HTTP Error code.

UNDEFINED

public static final RemoteRegionErrorEvent.Type UNDEFINED
Errors other then the types defined above will returned the UNDEFINED type. Over time as more types are added, UNDEFINED may be returned for fewer errors.

Method Detail

values

public static RemoteRegionErrorEvent.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RemoteRegionErrorEvent.Type c : RemoteRegionErrorEvent.Type.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RemoteRegionErrorEvent.Type 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

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.9.0)
E52936-01


Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.