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

## com.sun.mfwk.trans
Interface MfTranInterface

All Known Subinterfaces:
  MfTranReport, MfTransaction, MfTransactionDefinition

All Known Implementing Classes:
  MfTranInterfaceImpl

public interface MfTranInterface

Manages errors for transaction classes.

Method Summary
`int` | `getErrorCode()` Returns the error code.
`java.lang.String` | `getErrorMessage(int errorCode)` Returns a string message describing the error.
`void` | `setErrorCode(int errorCode)` Set the error code.

Method Detail

### getErrorCode

    public int getErrorCode()

  Returns the error code. The error code may change any time a method of the object is executed.

### setErrorCode

    public void setErrorCode(int errorCode)

  Set the error code.

  Parameters:
    `errorCode` - the error code

### getErrorMessage

    public java.lang.String getErrorMessage(int errorCode)

  Returns a string message describing the error. If the errorCode is not valid, it returns null.

  Parameters:
    `errorCode` - the error code

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