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;
}
Aggregations