Tabnine Logo
BaseDataStreamMarshaller.tightMarshalThrowable2
Code IndexAdd Tabnine to your IDE (free)

How to use
tightMarshalThrowable2
method
in
org.apache.activemq.openwire.v3.BaseDataStreamMarshaller

Best Java code snippets using org.apache.activemq.openwire.v3.BaseDataStreamMarshaller.tightMarshalThrowable2 (Showing top 4 results out of 315)

origin: apache/activemq

protected void tightMarshalThrowable2(OpenWireFormat wireFormat, Throwable o, DataOutput dataOut,
                   BooleanStream bs) throws IOException {
  if (bs.readBoolean()) {
    tightMarshalString2(o.getClass().getName(), dataOut, bs);
    tightMarshalString2(o.getMessage(), dataOut, bs);
    if (wireFormat.isStackTraceEnabled()) {
      StackTraceElement[] stackTrace = o.getStackTrace();
      dataOut.writeShort(stackTrace.length);
      for (int i = 0; i < stackTrace.length; i++) {
        StackTraceElement element = stackTrace[i];
        tightMarshalString2(element.getClassName(), dataOut, bs);
        tightMarshalString2(element.getMethodName(), dataOut, bs);
        tightMarshalString2(element.getFileName(), dataOut, bs);
        dataOut.writeInt(element.getLineNumber());
      }
      tightMarshalThrowable2(wireFormat, o.getCause(), dataOut, bs);
    }
  }
}
origin: org.apache.activemq/activemq-osgi

protected void tightMarshalThrowable2(OpenWireFormat wireFormat, Throwable o, DataOutput dataOut,
                   BooleanStream bs) throws IOException {
  if (bs.readBoolean()) {
    tightMarshalString2(o.getClass().getName(), dataOut, bs);
    tightMarshalString2(o.getMessage(), dataOut, bs);
    if (wireFormat.isStackTraceEnabled()) {
      StackTraceElement[] stackTrace = o.getStackTrace();
      dataOut.writeShort(stackTrace.length);
      for (int i = 0; i < stackTrace.length; i++) {
        StackTraceElement element = stackTrace[i];
        tightMarshalString2(element.getClassName(), dataOut, bs);
        tightMarshalString2(element.getMethodName(), dataOut, bs);
        tightMarshalString2(element.getFileName(), dataOut, bs);
        dataOut.writeInt(element.getLineNumber());
      }
      tightMarshalThrowable2(wireFormat, o.getCause(), dataOut, bs);
    }
  }
}
origin: org.apache.activemq/activemq-all

protected void tightMarshalThrowable2(OpenWireFormat wireFormat, Throwable o, DataOutput dataOut,
                   BooleanStream bs) throws IOException {
  if (bs.readBoolean()) {
    tightMarshalString2(o.getClass().getName(), dataOut, bs);
    tightMarshalString2(o.getMessage(), dataOut, bs);
    if (wireFormat.isStackTraceEnabled()) {
      StackTraceElement[] stackTrace = o.getStackTrace();
      dataOut.writeShort(stackTrace.length);
      for (int i = 0; i < stackTrace.length; i++) {
        StackTraceElement element = stackTrace[i];
        tightMarshalString2(element.getClassName(), dataOut, bs);
        tightMarshalString2(element.getMethodName(), dataOut, bs);
        tightMarshalString2(element.getFileName(), dataOut, bs);
        dataOut.writeInt(element.getLineNumber());
      }
      tightMarshalThrowable2(wireFormat, o.getCause(), dataOut, bs);
    }
  }
}
origin: pierre/meteo

protected void tightMarshalThrowable2(OpenWireFormat wireFormat, Throwable o, DataOutput dataOut,
                   BooleanStream bs) throws IOException {
  if (bs.readBoolean()) {
    tightMarshalString2(o.getClass().getName(), dataOut, bs);
    tightMarshalString2(o.getMessage(), dataOut, bs);
    if (wireFormat.isStackTraceEnabled()) {
      StackTraceElement[] stackTrace = o.getStackTrace();
      dataOut.writeShort(stackTrace.length);
      for (int i = 0; i < stackTrace.length; i++) {
        StackTraceElement element = stackTrace[i];
        tightMarshalString2(element.getClassName(), dataOut, bs);
        tightMarshalString2(element.getMethodName(), dataOut, bs);
        tightMarshalString2(element.getFileName(), dataOut, bs);
        dataOut.writeInt(element.getLineNumber());
      }
      tightMarshalThrowable2(wireFormat, o.getCause(), dataOut, bs);
    }
  }
}
org.apache.activemq.openwire.v3BaseDataStreamMarshallertightMarshalThrowable2

Popular methods of BaseDataStreamMarshaller

  • createThrowable
  • looseMarshal
  • looseMarshalNestedObject
  • looseMarshalString
  • looseMarshalThrowable
  • looseUnmarsalThrowable
  • looseUnmarshal
  • looseUnmarshalString
  • tightMarshal1
  • tightMarshal2
  • tightMarshalNestedObject1
  • tightMarshalNestedObject2
  • tightMarshalNestedObject1,
  • tightMarshalNestedObject2,
  • tightMarshalString1,
  • tightMarshalString2,
  • tightMarshalThrowable1,
  • tightUnmarsalThrowable,
  • tightUnmarshal,
  • tightUnmarshalString,
  • toLong

Popular in Java

  • Parsing JSON documents to java classes using gson
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (Timer)
  • getSystemService (Context)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now