use of com.sun.corba.ee.org.omg.CSI.SASContextBody 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 = {0}minor code= {1}", new Object[] { major, 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