Skip navigation links

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


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

All Known Subinterfaces:
TaskErrorResult

public interface ErrorResult

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.

 

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

 

Method Detail

getMessage

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

getCause

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

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.0)
E10684-08


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