FaultListener (Apache CXF API 2.5.0.fuse-70-097 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cxf.logging
Interface FaultListener

    public interface FaultListener

Implement this interface to customize behavior for Exceptions thrown by the application implementing the service call. Implementations of this class must be registered in configuration of CXF to be invoked. Implementing this interface can be used for listening to exceptions that occur in the service, as long as they are not caught in the application.

Method Summary
`boolean` | `faultOccurred(Exception exception, String description, Message message)` Handle the occurred exception.

Method Detail

### faultOccurred

    boolean faultOccurred(Exception exception,
                          String description,
                          Message message)

  Handle the occurred exception.

  Parameters:
    `exception` - The exception
    `description` - A description of where in the service interfaces the exception occurred.
    `message` - the message processed while the exception occurred.
  Returns:
    `true` if CXF should use default handling for this exception which normally is just logging the exception, `false` if CXF not should do any logging.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF