Search in sources :

Example 1 with ContextError

use of com.sun.corba.ee.org.omg.CSI.ContextError in project Payara by payara.

the class Counter method createContextError.

/**
 * create a context error with the specified major and minor status
 */
private SASContextBody createContextError(int major, int minor) {
    if (logger.isLoggable(FINE)) {
        logger.log(FINE, "Creating ContextError message: major code = " + major + "minor code= " + minor);
    }
    byte[] error_token = {};
    ContextError ce = new ContextError(0, // major
    major, // minor
    minor, error_token);
    SASContextBody sasctxtbody = new SASContextBody();
    sasctxtbody.error_msg(ce);
    return sasctxtbody;
}
Also used : ContextError(com.sun.corba.ee.org.omg.CSI.ContextError) SASContextBody(com.sun.corba.ee.org.omg.CSI.SASContextBody)

Aggregations

ContextError (com.sun.corba.ee.org.omg.CSI.ContextError)1 SASContextBody (com.sun.corba.ee.org.omg.CSI.SASContextBody)1