All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.backendless.rt.RTCallbackWithFault Maven / Gradle / Ivy

There is a newer version: 7.0-alpha
Show newest version
package com.backendless.rt;

import com.backendless.exceptions.BackendlessFault;

import java.util.logging.Logger;

public abstract class RTCallbackWithFault implements RTCallback
{
  private static final Logger logger = Logger.getLogger( "RTCallbackWithFault" );

  @Override
  public void handleFault( BackendlessFault fault )
  {
    logger.warning( "got fault " + fault );

    if( usersCallback() != null )
      usersCallback().handleFault( fault );
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy