Skip navigation links

Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.7.1)
E10684-09


oracle.adf.view.rich.remote.result
Class ErrorResult

java.lang.Object
  extended by oracle.adf.view.rich.remote.result.ErrorResult

Direct Known Subclasses:
TaskErrorResult

public abstract class ErrorResult
extends java.lang.Object

Returns an error result. This result type is used for both ERROR type responses as well as HTTP_ERROR type responses.


Nested Class Summary
static class ErrorResult.Source
          Tells where the ErrorResult was generated.

 

Constructor Summary
ErrorResult()
           

 

Method Summary
abstract  java.lang.Throwable getCause()
          The exception which was generated or null if there was no exception which was thrown to produce this error.
abstract  java.lang.String getMessage()
          A message for what might have went wrong.
abstract  ErrorResult.Source getSource()
          The source of this result.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ErrorResult

public ErrorResult()

Method Detail

getMessage

public abstract java.lang.String getMessage()
A message for what might have went wrong.
Returns:
a string containing the message

getCause

public abstract java.lang.Throwable getCause()
The exception which was generated or null if there was no exception which was thrown to produce this error.
Returns:

getSource

public abstract ErrorResult.Source getSource()
The source of this result. Error results CAN be generated on either producer (as would be the case of a runtime exception being thrown in part of the framework) or on the consumer (as would be the case for a connection failure). This allows us to determine where the actual generated exception may have occured.
Returns:

Skip navigation links

Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.7.1)
E10684-09


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