/** * @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; }
@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";
} catch (Exception e) { IIOPLogger.ROOT_LOGGER.logInternalError(e); throw new INTERNAL(e.toString());
private void checkCreation () { if (poaCreationFailed) { throw new org.omg.CORBA.INTERNAL ("POA Creation failed; unable to deactive"); } } }
public Listener create_listener (ProtocolProperties props, int stacksize, short base_priority) { throw new INTERNAL ("DIOP Listener not implemented"); }
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; }
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; }
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; }
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; }
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; }
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; }
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; }
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; }
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; }
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; }
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; }
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; }
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; }
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; }
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); } }