com.epam.fixengine
Interface ErrorHandler


public interface ErrorHandler

User must implement this interface for handling error and warning.

See Also:
FIXSession.setErrorHandler(ErrorHandler)

Method Summary
 void onError(String description, Throwable throwable)
          This method is invoked every time when error is occurred.
 void onFatalError(String description, Throwable throwable)
          This method is invoked every time when fatal error is occurred.
 void onWarn(String description, Throwable throwable)
          This method is invoked every time when warning is occurred.
 

Method Detail

onWarn

void onWarn(String description,
            Throwable throwable)
This method is invoked every time when warning is occurred.

Parameters:
description - warn description
throwable - error

onError

void onError(String description,
             Throwable throwable)
This method is invoked every time when error is occurred.

Parameters:
description - error description
throwable - error

onFatalError

void onFatalError(String description,
                  Throwable throwable)
This method is invoked every time when fatal error is occurred.

Parameters:
description - fatal error description
throwable - error


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.