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.atlassian.bamboo.logger
Interface AdminErrorHandler

All Known Implementing Classes:
  AdminErrorHandlerImpl

    public interface AdminErrorHandler

Describes an abstraction for dealing with errors that occure while building builds.

Method Summary
`void` | `clear()` Remove all errors from the handler
`String` | `getError(String errorKey)` Obtain the specifed error from the handler.
`Map` | `getErrors()` Obtain all the errors recorded
`void` | `recordError(String errorKey, String message)` Record a error
`void` | `removeError(String errorKey)` Remove a specific error from the handler.

Method Detail

### recordError

    void recordError(String errorKey,
                     String message)

  Record a error

  Parameters:
    `errorKey` -
    `message` -

### getErrors

    Map getErrors()

  Obtain all the errors recorded

### clear

    void clear()

  Remove all errors from the handler

### removeError

    void removeError(String errorKey)

  Remove a specific error from the handler.

  Parameters:
    `errorKey` -

### getError

    String getError(String errorKey)

  Obtain the specifed error from the handler.

  Parameters:
    `errorKey` -
  Returns:
    The error details

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

Copyright © 2006 Atlassian Software Systems. All Rights Reserved.