Package com.wombat.mamda
Interface MamdaErrorListener
-
public interface MamdaErrorListenerMamdaErrorListener defines an interface for handling error notifications for a MamdaSubscription.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonError(MamdaSubscription subscription, short severity, short errorCode, java.lang.String errorStr)Provide a callback to handle errors.
-
-
-
Method Detail
-
onError
void onError(MamdaSubscription subscription, short severity, short errorCode, java.lang.String errorStr)
Provide a callback to handle errors. The severity is intended as a hint to indicate whether the error is recoverable.- Parameters:
subscription- The subscription which received the update.severity- The severity of the error.errorCode- The errorCode. (MamdaErrorCode)errorStr- The stringified version of the error.- See Also:
MamdaErrorCode
-
-