本文整理了Java中org.omg.CORBA.INTERNAL.<init>()
方法的一些代码示例,展示了INTERNAL.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。INTERNAL.<init>()
方法的具体详情如下:
包路径:org.omg.CORBA.INTERNAL
类名称:INTERNAL
方法名:<init>
暂无
代码示例来源:origin: wildfly/wildfly
/**
* @return a Name object representing the name of the enclosing context
*/
public Name ctxName() {
// null if no further context
if (ctxName != null) {
try {
return new Name(ctxName);
} catch (org.omg.CosNaming.NamingContextPackage.InvalidName e) {
throw new INTERNAL(e.toString());
}
}
return null;
}
代码示例来源:origin: wildfly/wildfly
@Override
public final INTERNAL exceptionDestroingIterator(final String cause) {
final INTERNAL result = new INTERNAL(String.format(getLoggingLocale(), exceptionDestroingIterator$str(), cause));
final StackTraceElement[] st = result.getStackTrace();
result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
return result;
}
private static final String sslNotConfigured = "WFLYIIOP0103: IOR settings imply ssl connections usage, but secure connections have not been configured";
代码示例来源:origin: wildfly/wildfly
} catch (Exception e) {
IIOPLogger.ROOT_LOGGER.logInternalError(e);
throw new INTERNAL(e.toString());
代码示例来源:origin: org.jacorb/jacorb
private void checkCreation ()
{
if (poaCreationFailed)
{
throw new org.omg.CORBA.INTERNAL ("POA Creation failed; unable to deactive");
}
}
}
代码示例来源:origin: org.jacorb/jacorb
public Listener create_listener (ProtocolProperties props,
int stacksize,
short base_priority)
{
throw new INTERNAL ("DIOP Listener not implemented");
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL persistentServerportError(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(PERSISTENT_SERVERPORT_ERROR, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "POA.persistentServerportError", parameters, POASystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL duplicateOrbVersionSc(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(DUPLICATE_ORB_VERSION_SC, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "POA.duplicateOrbVersionSc", parameters, POASystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL addPoaInactive(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(ADD_POA_INACTIVE, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "POA.addPoaInactive", parameters, POASystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL noServerSubcontract(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(NO_SERVER_SUBCONTRACT, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.noServerSubcontract", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL badLocateRequestStatus(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(BAD_LOCATE_REQUEST_STATUS, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.badLocateRequestStatus", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL badReplystatus(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(BAD_REPLYSTATUS, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.badReplystatus", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL wcharArrayUnsupportedEncoding(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(WCHAR_ARRAY_UNSUPPORTED_ENCODING, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.wcharArrayUnsupportedEncoding", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL nullReplyInGetAddrDisposition(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(NULL_REPLY_IN_GET_ADDR_DISPOSITION, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.nullReplyInGetAddrDisposition", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL invalidJdk131PatchLevel(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(INVALID_JDK1_3_1_PATCH_LEVEL, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.invalidJdk131PatchLevel", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL statementNotReachable2(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(STATEMENT_NOT_REACHABLE2, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.statementNotReachable2", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL badCodeSetString(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(BAD_CODE_SET_STRING, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.badCodeSetString", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL badMessageTypeForCancel(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(BAD_MESSAGE_TYPE_FOR_CANCEL, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.badMessageTypeForCancel", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL unableToSetSocketFactoryOrb(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(UNABLE_TO_SET_SOCKET_FACTORY_ORB, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.unableToSetSocketFactoryOrb", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL threadPoolCloseError(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(THREAD_POOL_CLOSE_ERROR, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.threadPoolCloseError", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jacorb/jacorb
public void destroy ()
{
bindings = null;
try
{
_poa ().deactivate_object (_poa ().servant_to_id (this));
}
catch (UserException e)
{
throw new INTERNAL ("Caught exception destroying Iterator" + e);
}
}
内容来源于网络,如有侵权,请联系作者删除!