Java Code Examples for com.sun.corba.se.impl.util.Utility#printStackTrace()

The following examples show how to use com.sun.corba.se.impl.util.Utility#printStackTrace() . These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
/**
 * Write the service contexts to the output stream.
 *
 * If they haven't been unmarshaled, we don't have to
 * unmarshal them.
 */
public void write(OutputStream os, GIOPVersion gv)
{
    if (isDebugging(os)) {
        dprint( "Writing service contexts to output stream" ) ;
        Utility.printStackTrace() ;
    }

    int numsc = scMap.size();

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Adding alignment padding" ) ;

        numsc++ ;
    }

    if (isDebugging(os))
        dprint( "Service context has " + numsc + " components"  ) ;

    os.write_long( numsc ) ;

    writeServiceContextsInOrder(os, gv);

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Writing alignment padding" ) ;

        os.write_long( JAVAIDL_ALIGN_SERVICE_ID ) ;
        os.write_long( 4 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
    }

    if (isDebugging(os))
        dprint( "Service context writing complete" ) ;
}
 
Example 2
/**
 * Write the service contexts to the output stream.
 *
 * If they haven't been unmarshaled, we don't have to
 * unmarshal them.
 */
public void write(OutputStream os, GIOPVersion gv)
{
    if (isDebugging(os)) {
        dprint( "Writing service contexts to output stream" ) ;
        Utility.printStackTrace() ;
    }

    int numsc = scMap.size();

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Adding alignment padding" ) ;

        numsc++ ;
    }

    if (isDebugging(os))
        dprint( "Service context has " + numsc + " components"  ) ;

    os.write_long( numsc ) ;

    writeServiceContextsInOrder(os, gv);

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Writing alignment padding" ) ;

        os.write_long( JAVAIDL_ALIGN_SERVICE_ID ) ;
        os.write_long( 4 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
    }

    if (isDebugging(os))
        dprint( "Service context writing complete" ) ;
}
 
Example 3
/**
 * Write the service contexts to the output stream.
 *
 * If they haven't been unmarshaled, we don't have to
 * unmarshal them.
 */
public void write(OutputStream os, GIOPVersion gv)
{
    if (isDebugging(os)) {
        dprint( "Writing service contexts to output stream" ) ;
        Utility.printStackTrace() ;
    }

    int numsc = scMap.size();

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Adding alignment padding" ) ;

        numsc++ ;
    }

    if (isDebugging(os))
        dprint( "Service context has " + numsc + " components"  ) ;

    os.write_long( numsc ) ;

    writeServiceContextsInOrder(os, gv);

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Writing alignment padding" ) ;

        os.write_long( JAVAIDL_ALIGN_SERVICE_ID ) ;
        os.write_long( 4 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
    }

    if (isDebugging(os))
        dprint( "Service context writing complete" ) ;
}
 
Example 4
Source Project: JDKSourceCode1.8   File: ServiceContexts.java    License: MIT License 5 votes vote down vote up
/**
 * Write the service contexts to the output stream.
 *
 * If they haven't been unmarshaled, we don't have to
 * unmarshal them.
 */
public void write(OutputStream os, GIOPVersion gv)
{
    if (isDebugging(os)) {
        dprint( "Writing service contexts to output stream" ) ;
        Utility.printStackTrace() ;
    }

    int numsc = scMap.size();

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Adding alignment padding" ) ;

        numsc++ ;
    }

    if (isDebugging(os))
        dprint( "Service context has " + numsc + " components"  ) ;

    os.write_long( numsc ) ;

    writeServiceContextsInOrder(os, gv);

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Writing alignment padding" ) ;

        os.write_long( JAVAIDL_ALIGN_SERVICE_ID ) ;
        os.write_long( 4 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
    }

    if (isDebugging(os))
        dprint( "Service context writing complete" ) ;
}
 
Example 5
/**
 * Write the service contexts to the output stream.
 *
 * If they haven't been unmarshaled, we don't have to
 * unmarshal them.
 */
public void write(OutputStream os, GIOPVersion gv)
{
    if (isDebugging(os)) {
        dprint( "Writing service contexts to output stream" ) ;
        Utility.printStackTrace() ;
    }

    int numsc = scMap.size();

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Adding alignment padding" ) ;

        numsc++ ;
    }

    if (isDebugging(os))
        dprint( "Service context has " + numsc + " components"  ) ;

    os.write_long( numsc ) ;

    writeServiceContextsInOrder(os, gv);

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Writing alignment padding" ) ;

        os.write_long( JAVAIDL_ALIGN_SERVICE_ID ) ;
        os.write_long( 4 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
    }

    if (isDebugging(os))
        dprint( "Service context writing complete" ) ;
}
 
Example 6
/**
 * Write the service contexts to the output stream.
 *
 * If they haven't been unmarshaled, we don't have to
 * unmarshal them.
 */
public void write(OutputStream os, GIOPVersion gv)
{
    if (isDebugging(os)) {
        dprint( "Writing service contexts to output stream" ) ;
        Utility.printStackTrace() ;
    }

    int numsc = scMap.size();

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Adding alignment padding" ) ;

        numsc++ ;
    }

    if (isDebugging(os))
        dprint( "Service context has " + numsc + " components"  ) ;

    os.write_long( numsc ) ;

    writeServiceContextsInOrder(os, gv);

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Writing alignment padding" ) ;

        os.write_long( JAVAIDL_ALIGN_SERVICE_ID ) ;
        os.write_long( 4 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
    }

    if (isDebugging(os))
        dprint( "Service context writing complete" ) ;
}
 
Example 7
/**
 * Write the service contexts to the output stream.
 *
 * If they haven't been unmarshaled, we don't have to
 * unmarshal them.
 */
public void write(OutputStream os, GIOPVersion gv)
{
    if (isDebugging(os)) {
        dprint( "Writing service contexts to output stream" ) ;
        Utility.printStackTrace() ;
    }

    int numsc = scMap.size();

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Adding alignment padding" ) ;

        numsc++ ;
    }

    if (isDebugging(os))
        dprint( "Service context has " + numsc + " components"  ) ;

    os.write_long( numsc ) ;

    writeServiceContextsInOrder(os, gv);

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Writing alignment padding" ) ;

        os.write_long( JAVAIDL_ALIGN_SERVICE_ID ) ;
        os.write_long( 4 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
    }

    if (isDebugging(os))
        dprint( "Service context writing complete" ) ;
}
 
Example 8
/**
 * Write the service contexts to the output stream.
 *
 * If they haven't been unmarshaled, we don't have to
 * unmarshal them.
 */
public void write(OutputStream os, GIOPVersion gv)
{
    if (isDebugging(os)) {
        dprint( "Writing service contexts to output stream" ) ;
        Utility.printStackTrace() ;
    }

    int numsc = scMap.size();

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Adding alignment padding" ) ;

        numsc++ ;
    }

    if (isDebugging(os))
        dprint( "Service context has " + numsc + " components"  ) ;

    os.write_long( numsc ) ;

    writeServiceContextsInOrder(os, gv);

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Writing alignment padding" ) ;

        os.write_long( JAVAIDL_ALIGN_SERVICE_ID ) ;
        os.write_long( 4 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
    }

    if (isDebugging(os))
        dprint( "Service context writing complete" ) ;
}
 
Example 9
/**
 * Write the service contexts to the output stream.
 *
 * If they haven't been unmarshaled, we don't have to
 * unmarshal them.
 */
public void write(OutputStream os, GIOPVersion gv)
{
    if (isDebugging(os)) {
        dprint( "Writing service contexts to output stream" ) ;
        Utility.printStackTrace() ;
    }

    int numsc = scMap.size();

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Adding alignment padding" ) ;

        numsc++ ;
    }

    if (isDebugging(os))
        dprint( "Service context has " + numsc + " components"  ) ;

    os.write_long( numsc ) ;

    writeServiceContextsInOrder(os, gv);

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Writing alignment padding" ) ;

        os.write_long( JAVAIDL_ALIGN_SERVICE_ID ) ;
        os.write_long( 4 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
    }

    if (isDebugging(os))
        dprint( "Service context writing complete" ) ;
}
 
Example 10
/**
 * Write the service contexts to the output stream.
 *
 * If they haven't been unmarshaled, we don't have to
 * unmarshal them.
 */
public void write(OutputStream os, GIOPVersion gv)
{
    if (isDebugging(os)) {
        dprint( "Writing service contexts to output stream" ) ;
        Utility.printStackTrace() ;
    }

    int numsc = scMap.size();

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Adding alignment padding" ) ;

        numsc++ ;
    }

    if (isDebugging(os))
        dprint( "Service context has " + numsc + " components"  ) ;

    os.write_long( numsc ) ;

    writeServiceContextsInOrder(os, gv);

    if (addAlignmentOnWrite) {
        if (isDebugging(os))
            dprint( "Writing alignment padding" ) ;

        os.write_long( JAVAIDL_ALIGN_SERVICE_ID ) ;
        os.write_long( 4 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
        os.write_octet( (byte)0 ) ;
    }

    if (isDebugging(os))
        dprint( "Service context writing complete" ) ;
}