All Libraries | This Library | Package | Class | Use | Tree | Deprecated | Index | Grand Index | Help
|  | Components |
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sas.util.errorhandlers
Interface ErrorHandlerInterface

All Known Implementing Classes:
  CompositeErrorHandler, MessageBoxErrorHandler, PrintlnErrorHandler, StringDataErrorHandler, SystemLog

    public interface ErrorHandlerInterface

ErrorHandlerInterface is designed to allow components which want to handle error messages a way to pass the necessary information to an object which will display, log, or act on them in some way.

Method Summary
`abstract void` | `handleError(ComponentInterface component, com.sas.text.Message message, java.lang.String messageCode)` handleError should perform whatever action is desired when an error occurs.

Method Detail

### handleError

    void handleError(ComponentInterface component,
                     com.sas.text.Message message,
                     java.lang.String messageCode)

  handleError should perform whatever action is desired when an error occurs. Examples might be displaying a MessageBox, writing a message to the log, or printing a message to a stream.

  Parameters:
    `component` - The component on which the error occured.
    `message` - A Message object with formatted with the message to display. The object should also contain the necessary arguments for formatting the message.
    `messageCode` - A non-translatable string which indicates the type of error that occured.

All Libraries | This Library | Package | Class | Use | Tree | Deprecated | Index | Grand Index | Help
|  | Components |
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 SAS Institute Inc. All Rights Reserved.