Codota Logo
ReplayListener.onError
Code IndexAdd Codota to your IDE (free)

How to use
onError
method
in
org.objectweb.howl.log.ReplayListener

Best Java code snippets using org.objectweb.howl.log.ReplayListener.onError (Showing top 9 results out of 315)

  • Common ways to obtain ReplayListener
private void myMethod () {
ReplayListener r =
  • Codota IconHOWLLog xidFactory;XidFactory recoveredTx;new GeronimoReplayListener(xidFactory, recoveredTx)
  • Smart code suggestions by Codota
}
origin: org.apache.servicemix.transaction/org.apache.servicemix.transaction

public void onError(LogException e)
{
 // pass the error onto the TM
 tmListener.onError(e);
}
origin: apache/felix

public void onError(LogException e)
{
 // pass the error onto the TM
 tmListener.onError(e);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.howl

public void onError(LogException e)
{
 // pass the error onto the TM
 tmListener.onError(e);
}
origin: apache/felix

public void onError(LogException e)
{
 System.err.println("onError: " + e);
 replayException = e;
 // QUESTION - mark log unusable?
 
 // pass the error onto the TM
 if (tmListener != null) tmListener.onError(e);
}
origin: org.apache.servicemix.transaction/org.apache.servicemix.transaction

public void onError(LogException e)
{
 System.err.println("onError: " + e);
 replayException = e;
 // QUESTION - mark log unusable?
 
 // pass the error onto the TM
 if (tmListener != null) tmListener.onError(e);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.howl

public void onError(LogException e)
{
 System.err.println("onError: " + e);
 replayException = e;
 // QUESTION - mark log unusable?
 
 // pass the error onto the TM
 if (tmListener != null) tmListener.onError(e);
}
origin: org.apache.servicemix.transaction/org.apache.servicemix.transaction

} catch (IOException e) {
 String msg = "Error reading " + buffer.lf.file + " @ position [" + buffer.lf.position + "]";
 listener.onError(new LogException(msg + e.toString()));
 return;
} catch (InvalidLogBufferException e) {
 listener.onError(new LogException(e.toString()));
 return;
 InvalidLogBufferException lbe = new InvalidLogBufferException(
   "block read [" + buffer.bsn + "] not block requested: " + markBSN);
 listener.onError(lbe);
 return;
 listener.onError(new LogException(e.toString()));
 return;
   lfm.read(buffer, nextBSN);
  } catch (IOException e) {
   listener.onError(new LogException(e.toString()));
   return;
  } catch (InvalidLogBufferException e) {
   listener.onError(new LogException(e.toString()));
   return;
  record.get(buffer);
 } catch (InvalidLogBufferException e) {
  listener.onError(e);
  return;
origin: apache/felix

} catch (IOException e) {
 String msg = "Error reading " + buffer.lf.file + " @ position [" + buffer.lf.position + "]";
 listener.onError(new LogException(msg + e.toString()));
 return;
} catch (InvalidLogBufferException e) {
 listener.onError(new LogException(e.toString()));
 return;
 InvalidLogBufferException lbe = new InvalidLogBufferException(
   "block read [" + buffer.bsn + "] not block requested: " + markBSN);
 listener.onError(lbe);
 return;
 listener.onError(new LogException(e.toString()));
 return;
   lfm.read(buffer, nextBSN);
  } catch (IOException e) {
   listener.onError(new LogException(e.toString()));
   return;
  } catch (InvalidLogBufferException e) {
   listener.onError(new LogException(e.toString()));
   return;
  record.get(buffer);
 } catch (InvalidLogBufferException e) {
  listener.onError(e);
  return;
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.howl

} catch (IOException e) {
 String msg = "Error reading " + buffer.lf.file + " @ position [" + buffer.lf.position + "]";
 listener.onError(new LogException(msg + e.toString()));
 return;
} catch (InvalidLogBufferException e) {
 listener.onError(new LogException(e.toString()));
 return;
 InvalidLogBufferException lbe = new InvalidLogBufferException(
   "block read [" + buffer.bsn + "] not block requested: " + markBSN);
 listener.onError(lbe);
 return;
 listener.onError(new LogException(e.toString()));
 return;
   lfm.read(buffer, nextBSN);
  } catch (IOException e) {
   listener.onError(new LogException(e.toString()));
   return;
  } catch (InvalidLogBufferException e) {
   listener.onError(new LogException(e.toString()));
   return;
  record.get(buffer);
 } catch (InvalidLogBufferException e) {
  listener.onError(e);
  return;
org.objectweb.howl.logReplayListeneronError

Javadoc

Called by Logger when an exception is encountered during replay.

Popular methods of ReplayListener

  • getLogRecord
    Called by Logger when ReplayListener is registered for replay.The Logger calls getLogRecord to obtai
  • onRecord
    Called by Logger for each record retrieved from the log.when the entire log has been processed, lr.t

Popular in Java

  • Making http requests using okhttp
  • putExtra (Intent)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • orElseThrow (Optional)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Collectors (java.util.stream)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now