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

## org.jmock.api
Interface ExpectationErrorTranslator

All Known Implementing Classes:
  AssertionErrorTranslator, IdentityExpectationErrorTranslator, JUnit3ErrorTranslator

    public interface ExpectationErrorTranslator

Translates expectation errors into error type used by a specific testing framework.

Author:
  npryce

Method Summary
`Error` | `translate(ExpectationError e)` Translates the given `ExpectationError` into an error type compatible with another testing framework.

Method Detail

### translate

    Error translate(ExpectationError e)

  Translates the given `ExpectationError` into an error type compatible with another testing framework.

  Parameters:
    `e` - The `ExpectationError` to translate.
  Returns:
    An error that is compatible with another testing framework and contains the same message and stack trace as e.

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