1. // Log wrapper class for Sun private system exceptions in group ORBUTIL
  2. //
  3. // Generated by mc.scm version 1.3, DO NOT EDIT BY HAND!
  4. // Generated from input file ../../../../src/share/classes/com/sun/corba/se/spi/logging/data/ORBUtil.mc on Wed Sep 15 03:50:25 PDT 2004
  5. package com.sun.corba.se.impl.logging ;
  6. import java.util.logging.Logger ;
  7. import java.util.logging.Level ;
  8. import org.omg.CORBA.OMGVMCID ;
  9. import com.sun.corba.se.impl.util.SUNVMCID ;
  10. import org.omg.CORBA.CompletionStatus ;
  11. import org.omg.CORBA.SystemException ;
  12. import com.sun.corba.se.spi.orb.ORB ;
  13. import com.sun.corba.se.spi.logging.LogWrapperFactory;
  14. import com.sun.corba.se.spi.logging.LogWrapperBase;
  15. import org.omg.CORBA.BAD_OPERATION ;
  16. import org.omg.CORBA.BAD_PARAM ;
  17. import org.omg.CORBA.BAD_INV_ORDER ;
  18. import org.omg.CORBA.BAD_TYPECODE ;
  19. import org.omg.CORBA.COMM_FAILURE ;
  20. import org.omg.CORBA.DATA_CONVERSION ;
  21. import org.omg.CORBA.INV_OBJREF ;
  22. import org.omg.CORBA.INITIALIZE ;
  23. import org.omg.CORBA.INTERNAL ;
  24. import org.omg.CORBA.MARSHAL ;
  25. import org.omg.CORBA.NO_IMPLEMENT ;
  26. import org.omg.CORBA.OBJ_ADAPTER ;
  27. import org.omg.CORBA.OBJECT_NOT_EXIST ;
  28. import org.omg.CORBA.TRANSIENT ;
  29. import org.omg.CORBA.UNKNOWN ;
  30. public class ORBUtilSystemException extends LogWrapperBase {
  31. public ORBUtilSystemException( Logger logger )
  32. {
  33. super( logger ) ;
  34. }
  35. private static LogWrapperFactory factory = new LogWrapperFactory() {
  36. public LogWrapperBase create( Logger logger )
  37. {
  38. return new ORBUtilSystemException( logger ) ;
  39. }
  40. } ;
  41. public static ORBUtilSystemException get( ORB orb, String logDomain )
  42. {
  43. ORBUtilSystemException wrapper =
  44. (ORBUtilSystemException) orb.getLogWrapper( logDomain,
  45. "ORBUTIL", factory ) ;
  46. return wrapper ;
  47. }
  48. public static ORBUtilSystemException get( String logDomain )
  49. {
  50. ORBUtilSystemException wrapper =
  51. (ORBUtilSystemException) ORB.staticGetLogWrapper( logDomain,
  52. "ORBUTIL", factory ) ;
  53. return wrapper ;
  54. }
  55. ///////////////////////////////////////////////////////////
  56. // BAD_OPERATION
  57. ///////////////////////////////////////////////////////////
  58. public static final int ADAPTER_ID_NOT_AVAILABLE = SUNVMCID.value + 201 ;
  59. public BAD_OPERATION adapterIdNotAvailable( CompletionStatus cs, Throwable t ) {
  60. BAD_OPERATION exc = new BAD_OPERATION( ADAPTER_ID_NOT_AVAILABLE, cs ) ;
  61. if (t != null)
  62. exc.initCause( t ) ;
  63. if (logger.isLoggable( Level.WARNING )) {
  64. Object[] parameters = null ;
  65. doLog( Level.WARNING, "ORBUTIL.adapterIdNotAvailable",
  66. parameters, ORBUtilSystemException.class, exc ) ;
  67. }
  68. return exc ;
  69. }
  70. public BAD_OPERATION adapterIdNotAvailable( CompletionStatus cs ) {
  71. return adapterIdNotAvailable( cs, null ) ;
  72. }
  73. public BAD_OPERATION adapterIdNotAvailable( Throwable t ) {
  74. return adapterIdNotAvailable( CompletionStatus.COMPLETED_NO, t ) ;
  75. }
  76. public BAD_OPERATION adapterIdNotAvailable( ) {
  77. return adapterIdNotAvailable( CompletionStatus.COMPLETED_NO, null ) ;
  78. }
  79. public static final int SERVER_ID_NOT_AVAILABLE = SUNVMCID.value + 202 ;
  80. public BAD_OPERATION serverIdNotAvailable( CompletionStatus cs, Throwable t ) {
  81. BAD_OPERATION exc = new BAD_OPERATION( SERVER_ID_NOT_AVAILABLE, cs ) ;
  82. if (t != null)
  83. exc.initCause( t ) ;
  84. if (logger.isLoggable( Level.WARNING )) {
  85. Object[] parameters = null ;
  86. doLog( Level.WARNING, "ORBUTIL.serverIdNotAvailable",
  87. parameters, ORBUtilSystemException.class, exc ) ;
  88. }
  89. return exc ;
  90. }
  91. public BAD_OPERATION serverIdNotAvailable( CompletionStatus cs ) {
  92. return serverIdNotAvailable( cs, null ) ;
  93. }
  94. public BAD_OPERATION serverIdNotAvailable( Throwable t ) {
  95. return serverIdNotAvailable( CompletionStatus.COMPLETED_NO, t ) ;
  96. }
  97. public BAD_OPERATION serverIdNotAvailable( ) {
  98. return serverIdNotAvailable( CompletionStatus.COMPLETED_NO, null ) ;
  99. }
  100. public static final int ORB_ID_NOT_AVAILABLE = SUNVMCID.value + 203 ;
  101. public BAD_OPERATION orbIdNotAvailable( CompletionStatus cs, Throwable t ) {
  102. BAD_OPERATION exc = new BAD_OPERATION( ORB_ID_NOT_AVAILABLE, cs ) ;
  103. if (t != null)
  104. exc.initCause( t ) ;
  105. if (logger.isLoggable( Level.WARNING )) {
  106. Object[] parameters = null ;
  107. doLog( Level.WARNING, "ORBUTIL.orbIdNotAvailable",
  108. parameters, ORBUtilSystemException.class, exc ) ;
  109. }
  110. return exc ;
  111. }
  112. public BAD_OPERATION orbIdNotAvailable( CompletionStatus cs ) {
  113. return orbIdNotAvailable( cs, null ) ;
  114. }
  115. public BAD_OPERATION orbIdNotAvailable( Throwable t ) {
  116. return orbIdNotAvailable( CompletionStatus.COMPLETED_NO, t ) ;
  117. }
  118. public BAD_OPERATION orbIdNotAvailable( ) {
  119. return orbIdNotAvailable( CompletionStatus.COMPLETED_NO, null ) ;
  120. }
  121. public static final int OBJECT_ADAPTER_ID_NOT_AVAILABLE = SUNVMCID.value + 204 ;
  122. public BAD_OPERATION objectAdapterIdNotAvailable( CompletionStatus cs, Throwable t ) {
  123. BAD_OPERATION exc = new BAD_OPERATION( OBJECT_ADAPTER_ID_NOT_AVAILABLE, cs ) ;
  124. if (t != null)
  125. exc.initCause( t ) ;
  126. if (logger.isLoggable( Level.WARNING )) {
  127. Object[] parameters = null ;
  128. doLog( Level.WARNING, "ORBUTIL.objectAdapterIdNotAvailable",
  129. parameters, ORBUtilSystemException.class, exc ) ;
  130. }
  131. return exc ;
  132. }
  133. public BAD_OPERATION objectAdapterIdNotAvailable( CompletionStatus cs ) {
  134. return objectAdapterIdNotAvailable( cs, null ) ;
  135. }
  136. public BAD_OPERATION objectAdapterIdNotAvailable( Throwable t ) {
  137. return objectAdapterIdNotAvailable( CompletionStatus.COMPLETED_NO, t ) ;
  138. }
  139. public BAD_OPERATION objectAdapterIdNotAvailable( ) {
  140. return objectAdapterIdNotAvailable( CompletionStatus.COMPLETED_NO, null ) ;
  141. }
  142. public static final int CONNECTING_SERVANT = SUNVMCID.value + 205 ;
  143. public BAD_OPERATION connectingServant( CompletionStatus cs, Throwable t ) {
  144. BAD_OPERATION exc = new BAD_OPERATION( CONNECTING_SERVANT, cs ) ;
  145. if (t != null)
  146. exc.initCause( t ) ;
  147. if (logger.isLoggable( Level.WARNING )) {
  148. Object[] parameters = null ;
  149. doLog( Level.WARNING, "ORBUTIL.connectingServant",
  150. parameters, ORBUtilSystemException.class, exc ) ;
  151. }
  152. return exc ;
  153. }
  154. public BAD_OPERATION connectingServant( CompletionStatus cs ) {
  155. return connectingServant( cs, null ) ;
  156. }
  157. public BAD_OPERATION connectingServant( Throwable t ) {
  158. return connectingServant( CompletionStatus.COMPLETED_NO, t ) ;
  159. }
  160. public BAD_OPERATION connectingServant( ) {
  161. return connectingServant( CompletionStatus.COMPLETED_NO, null ) ;
  162. }
  163. public static final int EXTRACT_WRONG_TYPE = SUNVMCID.value + 206 ;
  164. public BAD_OPERATION extractWrongType( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
  165. BAD_OPERATION exc = new BAD_OPERATION( EXTRACT_WRONG_TYPE, cs ) ;
  166. if (t != null)
  167. exc.initCause( t ) ;
  168. if (logger.isLoggable( Level.FINE )) {
  169. Object[] parameters = new Object[2] ;
  170. parameters[0] = arg0 ;
  171. parameters[1] = arg1 ;
  172. doLog( Level.FINE, "ORBUTIL.extractWrongType",
  173. parameters, ORBUtilSystemException.class, exc ) ;
  174. }
  175. return exc ;
  176. }
  177. public BAD_OPERATION extractWrongType( CompletionStatus cs, Object arg0, Object arg1) {
  178. return extractWrongType( cs, null, arg0, arg1 ) ;
  179. }
  180. public BAD_OPERATION extractWrongType( Throwable t, Object arg0, Object arg1) {
  181. return extractWrongType( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
  182. }
  183. public BAD_OPERATION extractWrongType( Object arg0, Object arg1) {
  184. return extractWrongType( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
  185. }
  186. public static final int EXTRACT_WRONG_TYPE_LIST = SUNVMCID.value + 207 ;
  187. public BAD_OPERATION extractWrongTypeList( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
  188. BAD_OPERATION exc = new BAD_OPERATION( EXTRACT_WRONG_TYPE_LIST, cs ) ;
  189. if (t != null)
  190. exc.initCause( t ) ;
  191. if (logger.isLoggable( Level.WARNING )) {
  192. Object[] parameters = new Object[2] ;
  193. parameters[0] = arg0 ;
  194. parameters[1] = arg1 ;
  195. doLog( Level.WARNING, "ORBUTIL.extractWrongTypeList",
  196. parameters, ORBUtilSystemException.class, exc ) ;
  197. }
  198. return exc ;
  199. }
  200. public BAD_OPERATION extractWrongTypeList( CompletionStatus cs, Object arg0, Object arg1) {
  201. return extractWrongTypeList( cs, null, arg0, arg1 ) ;
  202. }
  203. public BAD_OPERATION extractWrongTypeList( Throwable t, Object arg0, Object arg1) {
  204. return extractWrongTypeList( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
  205. }
  206. public BAD_OPERATION extractWrongTypeList( Object arg0, Object arg1) {
  207. return extractWrongTypeList( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
  208. }
  209. public static final int BAD_STRING_BOUNDS = SUNVMCID.value + 208 ;
  210. public BAD_OPERATION badStringBounds( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
  211. BAD_OPERATION exc = new BAD_OPERATION( BAD_STRING_BOUNDS, cs ) ;
  212. if (t != null)
  213. exc.initCause( t ) ;
  214. if (logger.isLoggable( Level.WARNING )) {
  215. Object[] parameters = new Object[2] ;
  216. parameters[0] = arg0 ;
  217. parameters[1] = arg1 ;
  218. doLog( Level.WARNING, "ORBUTIL.badStringBounds",
  219. parameters, ORBUtilSystemException.class, exc ) ;
  220. }
  221. return exc ;
  222. }
  223. public BAD_OPERATION badStringBounds( CompletionStatus cs, Object arg0, Object arg1) {
  224. return badStringBounds( cs, null, arg0, arg1 ) ;
  225. }
  226. public BAD_OPERATION badStringBounds( Throwable t, Object arg0, Object arg1) {
  227. return badStringBounds( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
  228. }
  229. public BAD_OPERATION badStringBounds( Object arg0, Object arg1) {
  230. return badStringBounds( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
  231. }
  232. public static final int INSERT_OBJECT_INCOMPATIBLE = SUNVMCID.value + 210 ;
  233. public BAD_OPERATION insertObjectIncompatible( CompletionStatus cs, Throwable t ) {
  234. BAD_OPERATION exc = new BAD_OPERATION( INSERT_OBJECT_INCOMPATIBLE, cs ) ;
  235. if (t != null)
  236. exc.initCause( t ) ;
  237. if (logger.isLoggable( Level.WARNING )) {
  238. Object[] parameters = null ;
  239. doLog( Level.WARNING, "ORBUTIL.insertObjectIncompatible",
  240. parameters, ORBUtilSystemException.class, exc ) ;
  241. }
  242. return exc ;
  243. }
  244. public BAD_OPERATION insertObjectIncompatible( CompletionStatus cs ) {
  245. return insertObjectIncompatible( cs, null ) ;
  246. }
  247. public BAD_OPERATION insertObjectIncompatible( Throwable t ) {
  248. return insertObjectIncompatible( CompletionStatus.COMPLETED_NO, t ) ;
  249. }
  250. public BAD_OPERATION insertObjectIncompatible( ) {
  251. return insertObjectIncompatible( CompletionStatus.COMPLETED_NO, null ) ;
  252. }
  253. public static final int INSERT_OBJECT_FAILED = SUNVMCID.value + 211 ;
  254. public BAD_OPERATION insertObjectFailed( CompletionStatus cs, Throwable t ) {
  255. BAD_OPERATION exc = new BAD_OPERATION( INSERT_OBJECT_FAILED, cs ) ;
  256. if (t != null)
  257. exc.initCause( t ) ;
  258. if (logger.isLoggable( Level.WARNING )) {
  259. Object[] parameters = null ;
  260. doLog( Level.WARNING, "ORBUTIL.insertObjectFailed",
  261. parameters, ORBUtilSystemException.class, exc ) ;
  262. }
  263. return exc ;
  264. }
  265. public BAD_OPERATION insertObjectFailed( CompletionStatus cs ) {
  266. return insertObjectFailed( cs, null ) ;
  267. }
  268. public BAD_OPERATION insertObjectFailed( Throwable t ) {
  269. return insertObjectFailed( CompletionStatus.COMPLETED_NO, t ) ;
  270. }
  271. public BAD_OPERATION insertObjectFailed( ) {
  272. return insertObjectFailed( CompletionStatus.COMPLETED_NO, null ) ;
  273. }
  274. public static final int EXTRACT_OBJECT_INCOMPATIBLE = SUNVMCID.value + 212 ;
  275. public BAD_OPERATION extractObjectIncompatible( CompletionStatus cs, Throwable t ) {
  276. BAD_OPERATION exc = new BAD_OPERATION( EXTRACT_OBJECT_INCOMPATIBLE, cs ) ;
  277. if (t != null)
  278. exc.initCause( t ) ;
  279. if (logger.isLoggable( Level.WARNING )) {
  280. Object[] parameters = null ;
  281. doLog( Level.WARNING, "ORBUTIL.extractObjectIncompatible",
  282. parameters, ORBUtilSystemException.class, exc ) ;
  283. }
  284. return exc ;
  285. }
  286. public BAD_OPERATION extractObjectIncompatible( CompletionStatus cs ) {
  287. return extractObjectIncompatible( cs, null ) ;
  288. }
  289. public BAD_OPERATION extractObjectIncompatible( Throwable t ) {
  290. return extractObjectIncompatible( CompletionStatus.COMPLETED_NO, t ) ;
  291. }
  292. public BAD_OPERATION extractObjectIncompatible( ) {
  293. return extractObjectIncompatible( CompletionStatus.COMPLETED_NO, null ) ;
  294. }
  295. public static final int FIXED_NOT_MATCH = SUNVMCID.value + 213 ;
  296. public BAD_OPERATION fixedNotMatch( CompletionStatus cs, Throwable t ) {
  297. BAD_OPERATION exc = new BAD_OPERATION( FIXED_NOT_MATCH, cs ) ;
  298. if (t != null)
  299. exc.initCause( t ) ;
  300. if (logger.isLoggable( Level.WARNING )) {
  301. Object[] parameters = null ;
  302. doLog( Level.WARNING, "ORBUTIL.fixedNotMatch",
  303. parameters, ORBUtilSystemException.class, exc ) ;
  304. }
  305. return exc ;
  306. }
  307. public BAD_OPERATION fixedNotMatch( CompletionStatus cs ) {
  308. return fixedNotMatch( cs, null ) ;
  309. }
  310. public BAD_OPERATION fixedNotMatch( Throwable t ) {
  311. return fixedNotMatch( CompletionStatus.COMPLETED_NO, t ) ;
  312. }
  313. public BAD_OPERATION fixedNotMatch( ) {
  314. return fixedNotMatch( CompletionStatus.COMPLETED_NO, null ) ;
  315. }
  316. public static final int FIXED_BAD_TYPECODE = SUNVMCID.value + 214 ;
  317. public BAD_OPERATION fixedBadTypecode( CompletionStatus cs, Throwable t ) {
  318. BAD_OPERATION exc = new BAD_OPERATION( FIXED_BAD_TYPECODE, cs ) ;
  319. if (t != null)
  320. exc.initCause( t ) ;
  321. if (logger.isLoggable( Level.WARNING )) {
  322. Object[] parameters = null ;
  323. doLog( Level.WARNING, "ORBUTIL.fixedBadTypecode",
  324. parameters, ORBUtilSystemException.class, exc ) ;
  325. }
  326. return exc ;
  327. }
  328. public BAD_OPERATION fixedBadTypecode( CompletionStatus cs ) {
  329. return fixedBadTypecode( cs, null ) ;
  330. }
  331. public BAD_OPERATION fixedBadTypecode( Throwable t ) {
  332. return fixedBadTypecode( CompletionStatus.COMPLETED_NO, t ) ;
  333. }
  334. public BAD_OPERATION fixedBadTypecode( ) {
  335. return fixedBadTypecode( CompletionStatus.COMPLETED_NO, null ) ;
  336. }
  337. public static final int SET_EXCEPTION_CALLED_NULL_ARGS = SUNVMCID.value + 223 ;
  338. public BAD_OPERATION setExceptionCalledNullArgs( CompletionStatus cs, Throwable t ) {
  339. BAD_OPERATION exc = new BAD_OPERATION( SET_EXCEPTION_CALLED_NULL_ARGS, cs ) ;
  340. if (t != null)
  341. exc.initCause( t ) ;
  342. if (logger.isLoggable( Level.WARNING )) {
  343. Object[] parameters = null ;
  344. doLog( Level.WARNING, "ORBUTIL.setExceptionCalledNullArgs",
  345. parameters, ORBUtilSystemException.class, exc ) ;
  346. }
  347. return exc ;
  348. }
  349. public BAD_OPERATION setExceptionCalledNullArgs( CompletionStatus cs ) {
  350. return setExceptionCalledNullArgs( cs, null ) ;
  351. }
  352. public BAD_OPERATION setExceptionCalledNullArgs( Throwable t ) {
  353. return setExceptionCalledNullArgs( CompletionStatus.COMPLETED_NO, t ) ;
  354. }
  355. public BAD_OPERATION setExceptionCalledNullArgs( ) {
  356. return setExceptionCalledNullArgs( CompletionStatus.COMPLETED_NO, null ) ;
  357. }
  358. public static final int SET_EXCEPTION_CALLED_BAD_TYPE = SUNVMCID.value + 224 ;
  359. public BAD_OPERATION setExceptionCalledBadType( CompletionStatus cs, Throwable t ) {
  360. BAD_OPERATION exc = new BAD_OPERATION( SET_EXCEPTION_CALLED_BAD_TYPE, cs ) ;
  361. if (t != null)
  362. exc.initCause( t ) ;
  363. if (logger.isLoggable( Level.WARNING )) {
  364. Object[] parameters = null ;
  365. doLog( Level.WARNING, "ORBUTIL.setExceptionCalledBadType",
  366. parameters, ORBUtilSystemException.class, exc ) ;
  367. }
  368. return exc ;
  369. }
  370. public BAD_OPERATION setExceptionCalledBadType( CompletionStatus cs ) {
  371. return setExceptionCalledBadType( cs, null ) ;
  372. }
  373. public BAD_OPERATION setExceptionCalledBadType( Throwable t ) {
  374. return setExceptionCalledBadType( CompletionStatus.COMPLETED_NO, t ) ;
  375. }
  376. public BAD_OPERATION setExceptionCalledBadType( ) {
  377. return setExceptionCalledBadType( CompletionStatus.COMPLETED_NO, null ) ;
  378. }
  379. public static final int CONTEXT_CALLED_OUT_OF_ORDER = SUNVMCID.value + 225 ;
  380. public BAD_OPERATION contextCalledOutOfOrder( CompletionStatus cs, Throwable t ) {
  381. BAD_OPERATION exc = new BAD_OPERATION( CONTEXT_CALLED_OUT_OF_ORDER, cs ) ;
  382. if (t != null)
  383. exc.initCause( t ) ;
  384. if (logger.isLoggable( Level.WARNING )) {
  385. Object[] parameters = null ;
  386. doLog( Level.WARNING, "ORBUTIL.contextCalledOutOfOrder",
  387. parameters, ORBUtilSystemException.class, exc ) ;
  388. }
  389. return exc ;
  390. }
  391. public BAD_OPERATION contextCalledOutOfOrder( CompletionStatus cs ) {
  392. return contextCalledOutOfOrder( cs, null ) ;
  393. }
  394. public BAD_OPERATION contextCalledOutOfOrder( Throwable t ) {
  395. return contextCalledOutOfOrder( CompletionStatus.COMPLETED_NO, t ) ;
  396. }
  397. public BAD_OPERATION contextCalledOutOfOrder( ) {
  398. return contextCalledOutOfOrder( CompletionStatus.COMPLETED_NO, null ) ;
  399. }
  400. public static final int BAD_ORB_CONFIGURATOR = SUNVMCID.value + 226 ;
  401. public BAD_OPERATION badOrbConfigurator( CompletionStatus cs, Throwable t, Object arg0) {
  402. BAD_OPERATION exc = new BAD_OPERATION( BAD_ORB_CONFIGURATOR, cs ) ;
  403. if (t != null)
  404. exc.initCause( t ) ;
  405. if (logger.isLoggable( Level.WARNING )) {
  406. Object[] parameters = new Object[1] ;
  407. parameters[0] = arg0 ;
  408. doLog( Level.WARNING, "ORBUTIL.badOrbConfigurator",
  409. parameters, ORBUtilSystemException.class, exc ) ;
  410. }
  411. return exc ;
  412. }
  413. public BAD_OPERATION badOrbConfigurator( CompletionStatus cs, Object arg0) {
  414. return badOrbConfigurator( cs, null, arg0 ) ;
  415. }
  416. public BAD_OPERATION badOrbConfigurator( Throwable t, Object arg0) {
  417. return badOrbConfigurator( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  418. }
  419. public BAD_OPERATION badOrbConfigurator( Object arg0) {
  420. return badOrbConfigurator( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  421. }
  422. public static final int ORB_CONFIGURATOR_ERROR = SUNVMCID.value + 227 ;
  423. public BAD_OPERATION orbConfiguratorError( CompletionStatus cs, Throwable t ) {
  424. BAD_OPERATION exc = new BAD_OPERATION( ORB_CONFIGURATOR_ERROR, cs ) ;
  425. if (t != null)
  426. exc.initCause( t ) ;
  427. if (logger.isLoggable( Level.WARNING )) {
  428. Object[] parameters = null ;
  429. doLog( Level.WARNING, "ORBUTIL.orbConfiguratorError",
  430. parameters, ORBUtilSystemException.class, exc ) ;
  431. }
  432. return exc ;
  433. }
  434. public BAD_OPERATION orbConfiguratorError( CompletionStatus cs ) {
  435. return orbConfiguratorError( cs, null ) ;
  436. }
  437. public BAD_OPERATION orbConfiguratorError( Throwable t ) {
  438. return orbConfiguratorError( CompletionStatus.COMPLETED_NO, t ) ;
  439. }
  440. public BAD_OPERATION orbConfiguratorError( ) {
  441. return orbConfiguratorError( CompletionStatus.COMPLETED_NO, null ) ;
  442. }
  443. public static final int ORB_DESTROYED = SUNVMCID.value + 228 ;
  444. public BAD_OPERATION orbDestroyed( CompletionStatus cs, Throwable t ) {
  445. BAD_OPERATION exc = new BAD_OPERATION( ORB_DESTROYED, cs ) ;
  446. if (t != null)
  447. exc.initCause( t ) ;
  448. if (logger.isLoggable( Level.WARNING )) {
  449. Object[] parameters = null ;
  450. doLog( Level.WARNING, "ORBUTIL.orbDestroyed",
  451. parameters, ORBUtilSystemException.class, exc ) ;
  452. }
  453. return exc ;
  454. }
  455. public BAD_OPERATION orbDestroyed( CompletionStatus cs ) {
  456. return orbDestroyed( cs, null ) ;
  457. }
  458. public BAD_OPERATION orbDestroyed( Throwable t ) {
  459. return orbDestroyed( CompletionStatus.COMPLETED_NO, t ) ;
  460. }
  461. public BAD_OPERATION orbDestroyed( ) {
  462. return orbDestroyed( CompletionStatus.COMPLETED_NO, null ) ;
  463. }
  464. public static final int NEGATIVE_BOUNDS = SUNVMCID.value + 229 ;
  465. public BAD_OPERATION negativeBounds( CompletionStatus cs, Throwable t ) {
  466. BAD_OPERATION exc = new BAD_OPERATION( NEGATIVE_BOUNDS, cs ) ;
  467. if (t != null)
  468. exc.initCause( t ) ;
  469. if (logger.isLoggable( Level.WARNING )) {
  470. Object[] parameters = null ;
  471. doLog( Level.WARNING, "ORBUTIL.negativeBounds",
  472. parameters, ORBUtilSystemException.class, exc ) ;
  473. }
  474. return exc ;
  475. }
  476. public BAD_OPERATION negativeBounds( CompletionStatus cs ) {
  477. return negativeBounds( cs, null ) ;
  478. }
  479. public BAD_OPERATION negativeBounds( Throwable t ) {
  480. return negativeBounds( CompletionStatus.COMPLETED_NO, t ) ;
  481. }
  482. public BAD_OPERATION negativeBounds( ) {
  483. return negativeBounds( CompletionStatus.COMPLETED_NO, null ) ;
  484. }
  485. public static final int EXTRACT_NOT_INITIALIZED = SUNVMCID.value + 230 ;
  486. public BAD_OPERATION extractNotInitialized( CompletionStatus cs, Throwable t ) {
  487. BAD_OPERATION exc = new BAD_OPERATION( EXTRACT_NOT_INITIALIZED, cs ) ;
  488. if (t != null)
  489. exc.initCause( t ) ;
  490. if (logger.isLoggable( Level.WARNING )) {
  491. Object[] parameters = null ;
  492. doLog( Level.WARNING, "ORBUTIL.extractNotInitialized",
  493. parameters, ORBUtilSystemException.class, exc ) ;
  494. }
  495. return exc ;
  496. }
  497. public BAD_OPERATION extractNotInitialized( CompletionStatus cs ) {
  498. return extractNotInitialized( cs, null ) ;
  499. }
  500. public BAD_OPERATION extractNotInitialized( Throwable t ) {
  501. return extractNotInitialized( CompletionStatus.COMPLETED_NO, t ) ;
  502. }
  503. public BAD_OPERATION extractNotInitialized( ) {
  504. return extractNotInitialized( CompletionStatus.COMPLETED_NO, null ) ;
  505. }
  506. public static final int EXTRACT_OBJECT_FAILED = SUNVMCID.value + 231 ;
  507. public BAD_OPERATION extractObjectFailed( CompletionStatus cs, Throwable t ) {
  508. BAD_OPERATION exc = new BAD_OPERATION( EXTRACT_OBJECT_FAILED, cs ) ;
  509. if (t != null)
  510. exc.initCause( t ) ;
  511. if (logger.isLoggable( Level.WARNING )) {
  512. Object[] parameters = null ;
  513. doLog( Level.WARNING, "ORBUTIL.extractObjectFailed",
  514. parameters, ORBUtilSystemException.class, exc ) ;
  515. }
  516. return exc ;
  517. }
  518. public BAD_OPERATION extractObjectFailed( CompletionStatus cs ) {
  519. return extractObjectFailed( cs, null ) ;
  520. }
  521. public BAD_OPERATION extractObjectFailed( Throwable t ) {
  522. return extractObjectFailed( CompletionStatus.COMPLETED_NO, t ) ;
  523. }
  524. public BAD_OPERATION extractObjectFailed( ) {
  525. return extractObjectFailed( CompletionStatus.COMPLETED_NO, null ) ;
  526. }
  527. public static final int METHOD_NOT_FOUND_IN_TIE = SUNVMCID.value + 232 ;
  528. public BAD_OPERATION methodNotFoundInTie( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
  529. BAD_OPERATION exc = new BAD_OPERATION( METHOD_NOT_FOUND_IN_TIE, cs ) ;
  530. if (t != null)
  531. exc.initCause( t ) ;
  532. if (logger.isLoggable( Level.FINE )) {
  533. Object[] parameters = new Object[2] ;
  534. parameters[0] = arg0 ;
  535. parameters[1] = arg1 ;
  536. doLog( Level.FINE, "ORBUTIL.methodNotFoundInTie",
  537. parameters, ORBUtilSystemException.class, exc ) ;
  538. }
  539. return exc ;
  540. }
  541. public BAD_OPERATION methodNotFoundInTie( CompletionStatus cs, Object arg0, Object arg1) {
  542. return methodNotFoundInTie( cs, null, arg0, arg1 ) ;
  543. }
  544. public BAD_OPERATION methodNotFoundInTie( Throwable t, Object arg0, Object arg1) {
  545. return methodNotFoundInTie( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
  546. }
  547. public BAD_OPERATION methodNotFoundInTie( Object arg0, Object arg1) {
  548. return methodNotFoundInTie( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
  549. }
  550. public static final int CLASS_NOT_FOUND1 = SUNVMCID.value + 233 ;
  551. public BAD_OPERATION classNotFound1( CompletionStatus cs, Throwable t, Object arg0) {
  552. BAD_OPERATION exc = new BAD_OPERATION( CLASS_NOT_FOUND1, cs ) ;
  553. if (t != null)
  554. exc.initCause( t ) ;
  555. if (logger.isLoggable( Level.FINE )) {
  556. Object[] parameters = new Object[1] ;
  557. parameters[0] = arg0 ;
  558. doLog( Level.FINE, "ORBUTIL.classNotFound1",
  559. parameters, ORBUtilSystemException.class, exc ) ;
  560. }
  561. return exc ;
  562. }
  563. public BAD_OPERATION classNotFound1( CompletionStatus cs, Object arg0) {
  564. return classNotFound1( cs, null, arg0 ) ;
  565. }
  566. public BAD_OPERATION classNotFound1( Throwable t, Object arg0) {
  567. return classNotFound1( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  568. }
  569. public BAD_OPERATION classNotFound1( Object arg0) {
  570. return classNotFound1( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  571. }
  572. public static final int CLASS_NOT_FOUND2 = SUNVMCID.value + 234 ;
  573. public BAD_OPERATION classNotFound2( CompletionStatus cs, Throwable t, Object arg0) {
  574. BAD_OPERATION exc = new BAD_OPERATION( CLASS_NOT_FOUND2, cs ) ;
  575. if (t != null)
  576. exc.initCause( t ) ;
  577. if (logger.isLoggable( Level.FINE )) {
  578. Object[] parameters = new Object[1] ;
  579. parameters[0] = arg0 ;
  580. doLog( Level.FINE, "ORBUTIL.classNotFound2",
  581. parameters, ORBUtilSystemException.class, exc ) ;
  582. }
  583. return exc ;
  584. }
  585. public BAD_OPERATION classNotFound2( CompletionStatus cs, Object arg0) {
  586. return classNotFound2( cs, null, arg0 ) ;
  587. }
  588. public BAD_OPERATION classNotFound2( Throwable t, Object arg0) {
  589. return classNotFound2( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  590. }
  591. public BAD_OPERATION classNotFound2( Object arg0) {
  592. return classNotFound2( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  593. }
  594. public static final int CLASS_NOT_FOUND3 = SUNVMCID.value + 235 ;
  595. public BAD_OPERATION classNotFound3( CompletionStatus cs, Throwable t, Object arg0) {
  596. BAD_OPERATION exc = new BAD_OPERATION( CLASS_NOT_FOUND3, cs ) ;
  597. if (t != null)
  598. exc.initCause( t ) ;
  599. if (logger.isLoggable( Level.FINE )) {
  600. Object[] parameters = new Object[1] ;
  601. parameters[0] = arg0 ;
  602. doLog( Level.FINE, "ORBUTIL.classNotFound3",
  603. parameters, ORBUtilSystemException.class, exc ) ;
  604. }
  605. return exc ;
  606. }
  607. public BAD_OPERATION classNotFound3( CompletionStatus cs, Object arg0) {
  608. return classNotFound3( cs, null, arg0 ) ;
  609. }
  610. public BAD_OPERATION classNotFound3( Throwable t, Object arg0) {
  611. return classNotFound3( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  612. }
  613. public BAD_OPERATION classNotFound3( Object arg0) {
  614. return classNotFound3( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  615. }
  616. public static final int GET_DELEGATE_SERVANT_NOT_ACTIVE = SUNVMCID.value + 236 ;
  617. public BAD_OPERATION getDelegateServantNotActive( CompletionStatus cs, Throwable t ) {
  618. BAD_OPERATION exc = new BAD_OPERATION( GET_DELEGATE_SERVANT_NOT_ACTIVE, cs ) ;
  619. if (t != null)
  620. exc.initCause( t ) ;
  621. if (logger.isLoggable( Level.WARNING )) {
  622. Object[] parameters = null ;
  623. doLog( Level.WARNING, "ORBUTIL.getDelegateServantNotActive",
  624. parameters, ORBUtilSystemException.class, exc ) ;
  625. }
  626. return exc ;
  627. }
  628. public BAD_OPERATION getDelegateServantNotActive( CompletionStatus cs ) {
  629. return getDelegateServantNotActive( cs, null ) ;
  630. }
  631. public BAD_OPERATION getDelegateServantNotActive( Throwable t ) {
  632. return getDelegateServantNotActive( CompletionStatus.COMPLETED_NO, t ) ;
  633. }
  634. public BAD_OPERATION getDelegateServantNotActive( ) {
  635. return getDelegateServantNotActive( CompletionStatus.COMPLETED_NO, null ) ;
  636. }
  637. public static final int GET_DELEGATE_WRONG_POLICY = SUNVMCID.value + 237 ;
  638. public BAD_OPERATION getDelegateWrongPolicy( CompletionStatus cs, Throwable t ) {
  639. BAD_OPERATION exc = new BAD_OPERATION( GET_DELEGATE_WRONG_POLICY, cs ) ;
  640. if (t != null)
  641. exc.initCause( t ) ;
  642. if (logger.isLoggable( Level.WARNING )) {
  643. Object[] parameters = null ;
  644. doLog( Level.WARNING, "ORBUTIL.getDelegateWrongPolicy",
  645. parameters, ORBUtilSystemException.class, exc ) ;
  646. }
  647. return exc ;
  648. }
  649. public BAD_OPERATION getDelegateWrongPolicy( CompletionStatus cs ) {
  650. return getDelegateWrongPolicy( cs, null ) ;
  651. }
  652. public BAD_OPERATION getDelegateWrongPolicy( Throwable t ) {
  653. return getDelegateWrongPolicy( CompletionStatus.COMPLETED_NO, t ) ;
  654. }
  655. public BAD_OPERATION getDelegateWrongPolicy( ) {
  656. return getDelegateWrongPolicy( CompletionStatus.COMPLETED_NO, null ) ;
  657. }
  658. public static final int SET_DELEGATE_REQUIRES_STUB = SUNVMCID.value + 238 ;
  659. public BAD_OPERATION setDelegateRequiresStub( CompletionStatus cs, Throwable t ) {
  660. BAD_OPERATION exc = new BAD_OPERATION( SET_DELEGATE_REQUIRES_STUB, cs ) ;
  661. if (t != null)
  662. exc.initCause( t ) ;
  663. if (logger.isLoggable( Level.FINE )) {
  664. Object[] parameters = null ;
  665. doLog( Level.FINE, "ORBUTIL.setDelegateRequiresStub",
  666. parameters, ORBUtilSystemException.class, exc ) ;
  667. }
  668. return exc ;
  669. }
  670. public BAD_OPERATION setDelegateRequiresStub( CompletionStatus cs ) {
  671. return setDelegateRequiresStub( cs, null ) ;
  672. }
  673. public BAD_OPERATION setDelegateRequiresStub( Throwable t ) {
  674. return setDelegateRequiresStub( CompletionStatus.COMPLETED_NO, t ) ;
  675. }
  676. public BAD_OPERATION setDelegateRequiresStub( ) {
  677. return setDelegateRequiresStub( CompletionStatus.COMPLETED_NO, null ) ;
  678. }
  679. public static final int GET_DELEGATE_REQUIRES_STUB = SUNVMCID.value + 239 ;
  680. public BAD_OPERATION getDelegateRequiresStub( CompletionStatus cs, Throwable t ) {
  681. BAD_OPERATION exc = new BAD_OPERATION( GET_DELEGATE_REQUIRES_STUB, cs ) ;
  682. if (t != null)
  683. exc.initCause( t ) ;
  684. if (logger.isLoggable( Level.WARNING )) {
  685. Object[] parameters = null ;
  686. doLog( Level.WARNING, "ORBUTIL.getDelegateRequiresStub",
  687. parameters, ORBUtilSystemException.class, exc ) ;
  688. }
  689. return exc ;
  690. }
  691. public BAD_OPERATION getDelegateRequiresStub( CompletionStatus cs ) {
  692. return getDelegateRequiresStub( cs, null ) ;
  693. }
  694. public BAD_OPERATION getDelegateRequiresStub( Throwable t ) {
  695. return getDelegateRequiresStub( CompletionStatus.COMPLETED_NO, t ) ;
  696. }
  697. public BAD_OPERATION getDelegateRequiresStub( ) {
  698. return getDelegateRequiresStub( CompletionStatus.COMPLETED_NO, null ) ;
  699. }
  700. public static final int GET_TYPE_IDS_REQUIRES_STUB = SUNVMCID.value + 240 ;
  701. public BAD_OPERATION getTypeIdsRequiresStub( CompletionStatus cs, Throwable t ) {
  702. BAD_OPERATION exc = new BAD_OPERATION( GET_TYPE_IDS_REQUIRES_STUB, cs ) ;
  703. if (t != null)
  704. exc.initCause( t ) ;
  705. if (logger.isLoggable( Level.WARNING )) {
  706. Object[] parameters = null ;
  707. doLog( Level.WARNING, "ORBUTIL.getTypeIdsRequiresStub",
  708. parameters, ORBUtilSystemException.class, exc ) ;
  709. }
  710. return exc ;
  711. }
  712. public BAD_OPERATION getTypeIdsRequiresStub( CompletionStatus cs ) {
  713. return getTypeIdsRequiresStub( cs, null ) ;
  714. }
  715. public BAD_OPERATION getTypeIdsRequiresStub( Throwable t ) {
  716. return getTypeIdsRequiresStub( CompletionStatus.COMPLETED_NO, t ) ;
  717. }
  718. public BAD_OPERATION getTypeIdsRequiresStub( ) {
  719. return getTypeIdsRequiresStub( CompletionStatus.COMPLETED_NO, null ) ;
  720. }
  721. public static final int GET_ORB_REQUIRES_STUB = SUNVMCID.value + 241 ;
  722. public BAD_OPERATION getOrbRequiresStub( CompletionStatus cs, Throwable t ) {
  723. BAD_OPERATION exc = new BAD_OPERATION( GET_ORB_REQUIRES_STUB, cs ) ;
  724. if (t != null)
  725. exc.initCause( t ) ;
  726. if (logger.isLoggable( Level.WARNING )) {
  727. Object[] parameters = null ;
  728. doLog( Level.WARNING, "ORBUTIL.getOrbRequiresStub",
  729. parameters, ORBUtilSystemException.class, exc ) ;
  730. }
  731. return exc ;
  732. }
  733. public BAD_OPERATION getOrbRequiresStub( CompletionStatus cs ) {
  734. return getOrbRequiresStub( cs, null ) ;
  735. }
  736. public BAD_OPERATION getOrbRequiresStub( Throwable t ) {
  737. return getOrbRequiresStub( CompletionStatus.COMPLETED_NO, t ) ;
  738. }
  739. public BAD_OPERATION getOrbRequiresStub( ) {
  740. return getOrbRequiresStub( CompletionStatus.COMPLETED_NO, null ) ;
  741. }
  742. public static final int CONNECT_REQUIRES_STUB = SUNVMCID.value + 242 ;
  743. public BAD_OPERATION connectRequiresStub( CompletionStatus cs, Throwable t ) {
  744. BAD_OPERATION exc = new BAD_OPERATION( CONNECT_REQUIRES_STUB, cs ) ;
  745. if (t != null)
  746. exc.initCause( t ) ;
  747. if (logger.isLoggable( Level.WARNING )) {
  748. Object[] parameters = null ;
  749. doLog( Level.WARNING, "ORBUTIL.connectRequiresStub",
  750. parameters, ORBUtilSystemException.class, exc ) ;
  751. }
  752. return exc ;
  753. }
  754. public BAD_OPERATION connectRequiresStub( CompletionStatus cs ) {
  755. return connectRequiresStub( cs, null ) ;
  756. }
  757. public BAD_OPERATION connectRequiresStub( Throwable t ) {
  758. return connectRequiresStub( CompletionStatus.COMPLETED_NO, t ) ;
  759. }
  760. public BAD_OPERATION connectRequiresStub( ) {
  761. return connectRequiresStub( CompletionStatus.COMPLETED_NO, null ) ;
  762. }
  763. public static final int IS_LOCAL_REQUIRES_STUB = SUNVMCID.value + 243 ;
  764. public BAD_OPERATION isLocalRequiresStub( CompletionStatus cs, Throwable t ) {
  765. BAD_OPERATION exc = new BAD_OPERATION( IS_LOCAL_REQUIRES_STUB, cs ) ;
  766. if (t != null)
  767. exc.initCause( t ) ;
  768. if (logger.isLoggable( Level.WARNING )) {
  769. Object[] parameters = null ;
  770. doLog( Level.WARNING, "ORBUTIL.isLocalRequiresStub",
  771. parameters, ORBUtilSystemException.class, exc ) ;
  772. }
  773. return exc ;
  774. }
  775. public BAD_OPERATION isLocalRequiresStub( CompletionStatus cs ) {
  776. return isLocalRequiresStub( cs, null ) ;
  777. }
  778. public BAD_OPERATION isLocalRequiresStub( Throwable t ) {
  779. return isLocalRequiresStub( CompletionStatus.COMPLETED_NO, t ) ;
  780. }
  781. public BAD_OPERATION isLocalRequiresStub( ) {
  782. return isLocalRequiresStub( CompletionStatus.COMPLETED_NO, null ) ;
  783. }
  784. public static final int REQUEST_REQUIRES_STUB = SUNVMCID.value + 244 ;
  785. public BAD_OPERATION requestRequiresStub( CompletionStatus cs, Throwable t ) {
  786. BAD_OPERATION exc = new BAD_OPERATION( REQUEST_REQUIRES_STUB, cs ) ;
  787. if (t != null)
  788. exc.initCause( t ) ;
  789. if (logger.isLoggable( Level.WARNING )) {
  790. Object[] parameters = null ;
  791. doLog( Level.WARNING, "ORBUTIL.requestRequiresStub",
  792. parameters, ORBUtilSystemException.class, exc ) ;
  793. }
  794. return exc ;
  795. }
  796. public BAD_OPERATION requestRequiresStub( CompletionStatus cs ) {
  797. return requestRequiresStub( cs, null ) ;
  798. }
  799. public BAD_OPERATION requestRequiresStub( Throwable t ) {
  800. return requestRequiresStub( CompletionStatus.COMPLETED_NO, t ) ;
  801. }
  802. public BAD_OPERATION requestRequiresStub( ) {
  803. return requestRequiresStub( CompletionStatus.COMPLETED_NO, null ) ;
  804. }
  805. public static final int BAD_ACTIVATE_TIE_CALL = SUNVMCID.value + 245 ;
  806. public BAD_OPERATION badActivateTieCall( CompletionStatus cs, Throwable t ) {
  807. BAD_OPERATION exc = new BAD_OPERATION( BAD_ACTIVATE_TIE_CALL, cs ) ;
  808. if (t != null)
  809. exc.initCause( t ) ;
  810. if (logger.isLoggable( Level.WARNING )) {
  811. Object[] parameters = null ;
  812. doLog( Level.WARNING, "ORBUTIL.badActivateTieCall",
  813. parameters, ORBUtilSystemException.class, exc ) ;
  814. }
  815. return exc ;
  816. }
  817. public BAD_OPERATION badActivateTieCall( CompletionStatus cs ) {
  818. return badActivateTieCall( cs, null ) ;
  819. }
  820. public BAD_OPERATION badActivateTieCall( Throwable t ) {
  821. return badActivateTieCall( CompletionStatus.COMPLETED_NO, t ) ;
  822. }
  823. public BAD_OPERATION badActivateTieCall( ) {
  824. return badActivateTieCall( CompletionStatus.COMPLETED_NO, null ) ;
  825. }
  826. ///////////////////////////////////////////////////////////
  827. // BAD_PARAM
  828. ///////////////////////////////////////////////////////////
  829. public static final int NULL_PARAM = SUNVMCID.value + 201 ;
  830. public BAD_PARAM nullParam( CompletionStatus cs, Throwable t ) {
  831. BAD_PARAM exc = new BAD_PARAM( NULL_PARAM, cs ) ;
  832. if (t != null)
  833. exc.initCause( t ) ;
  834. if (logger.isLoggable( Level.WARNING )) {
  835. Object[] parameters = null ;
  836. doLog( Level.WARNING, "ORBUTIL.nullParam",
  837. parameters, ORBUtilSystemException.class, exc ) ;
  838. }
  839. return exc ;
  840. }
  841. public BAD_PARAM nullParam( CompletionStatus cs ) {
  842. return nullParam( cs, null ) ;
  843. }
  844. public BAD_PARAM nullParam( Throwable t ) {
  845. return nullParam( CompletionStatus.COMPLETED_NO, t ) ;
  846. }
  847. public BAD_PARAM nullParam( ) {
  848. return nullParam( CompletionStatus.COMPLETED_NO, null ) ;
  849. }
  850. public static final int UNABLE_FIND_VALUE_FACTORY = SUNVMCID.value + 202 ;
  851. public BAD_PARAM unableFindValueFactory( CompletionStatus cs, Throwable t ) {
  852. BAD_PARAM exc = new BAD_PARAM( UNABLE_FIND_VALUE_FACTORY, cs ) ;
  853. if (t != null)
  854. exc.initCause( t ) ;
  855. if (logger.isLoggable( Level.FINE )) {
  856. Object[] parameters = null ;
  857. doLog( Level.FINE, "ORBUTIL.unableFindValueFactory",
  858. parameters, ORBUtilSystemException.class, exc ) ;
  859. }
  860. return exc ;
  861. }
  862. public BAD_PARAM unableFindValueFactory( CompletionStatus cs ) {
  863. return unableFindValueFactory( cs, null ) ;
  864. }
  865. public BAD_PARAM unableFindValueFactory( Throwable t ) {
  866. return unableFindValueFactory( CompletionStatus.COMPLETED_NO, t ) ;
  867. }
  868. public BAD_PARAM unableFindValueFactory( ) {
  869. return unableFindValueFactory( CompletionStatus.COMPLETED_NO, null ) ;
  870. }
  871. public static final int ABSTRACT_FROM_NON_ABSTRACT = SUNVMCID.value + 203 ;
  872. public BAD_PARAM abstractFromNonAbstract( CompletionStatus cs, Throwable t ) {
  873. BAD_PARAM exc = new BAD_PARAM( ABSTRACT_FROM_NON_ABSTRACT, cs ) ;
  874. if (t != null)
  875. exc.initCause( t ) ;
  876. if (logger.isLoggable( Level.WARNING )) {
  877. Object[] parameters = null ;
  878. doLog( Level.WARNING, "ORBUTIL.abstractFromNonAbstract",
  879. parameters, ORBUtilSystemException.class, exc ) ;
  880. }
  881. return exc ;
  882. }
  883. public BAD_PARAM abstractFromNonAbstract( CompletionStatus cs ) {
  884. return abstractFromNonAbstract( cs, null ) ;
  885. }
  886. public BAD_PARAM abstractFromNonAbstract( Throwable t ) {
  887. return abstractFromNonAbstract( CompletionStatus.COMPLETED_NO, t ) ;
  888. }
  889. public BAD_PARAM abstractFromNonAbstract( ) {
  890. return abstractFromNonAbstract( CompletionStatus.COMPLETED_NO, null ) ;
  891. }
  892. public static final int INVALID_TAGGED_PROFILE = SUNVMCID.value + 204 ;
  893. public BAD_PARAM invalidTaggedProfile( CompletionStatus cs, Throwable t ) {
  894. BAD_PARAM exc = new BAD_PARAM( INVALID_TAGGED_PROFILE, cs ) ;
  895. if (t != null)
  896. exc.initCause( t ) ;
  897. if (logger.isLoggable( Level.WARNING )) {
  898. Object[] parameters = null ;
  899. doLog( Level.WARNING, "ORBUTIL.invalidTaggedProfile",
  900. parameters, ORBUtilSystemException.class, exc ) ;
  901. }
  902. return exc ;
  903. }
  904. public BAD_PARAM invalidTaggedProfile( CompletionStatus cs ) {
  905. return invalidTaggedProfile( cs, null ) ;
  906. }
  907. public BAD_PARAM invalidTaggedProfile( Throwable t ) {
  908. return invalidTaggedProfile( CompletionStatus.COMPLETED_NO, t ) ;
  909. }
  910. public BAD_PARAM invalidTaggedProfile( ) {
  911. return invalidTaggedProfile( CompletionStatus.COMPLETED_NO, null ) ;
  912. }
  913. public static final int OBJREF_FROM_FOREIGN_ORB = SUNVMCID.value + 205 ;
  914. public BAD_PARAM objrefFromForeignOrb( CompletionStatus cs, Throwable t ) {
  915. BAD_PARAM exc = new BAD_PARAM( OBJREF_FROM_FOREIGN_ORB, cs ) ;
  916. if (t != null)
  917. exc.initCause( t ) ;
  918. if (logger.isLoggable( Level.WARNING )) {
  919. Object[] parameters = null ;
  920. doLog( Level.WARNING, "ORBUTIL.objrefFromForeignOrb",
  921. parameters, ORBUtilSystemException.class, exc ) ;
  922. }
  923. return exc ;
  924. }
  925. public BAD_PARAM objrefFromForeignOrb( CompletionStatus cs ) {
  926. return objrefFromForeignOrb( cs, null ) ;
  927. }
  928. public BAD_PARAM objrefFromForeignOrb( Throwable t ) {
  929. return objrefFromForeignOrb( CompletionStatus.COMPLETED_NO, t ) ;
  930. }
  931. public BAD_PARAM objrefFromForeignOrb( ) {
  932. return objrefFromForeignOrb( CompletionStatus.COMPLETED_NO, null ) ;
  933. }
  934. public static final int LOCAL_OBJECT_NOT_ALLOWED = SUNVMCID.value + 206 ;
  935. public BAD_PARAM localObjectNotAllowed( CompletionStatus cs, Throwable t ) {
  936. BAD_PARAM exc = new BAD_PARAM( LOCAL_OBJECT_NOT_ALLOWED, cs ) ;
  937. if (t != null)
  938. exc.initCause( t ) ;
  939. if (logger.isLoggable( Level.FINE )) {
  940. Object[] parameters = null ;
  941. doLog( Level.FINE, "ORBUTIL.localObjectNotAllowed",
  942. parameters, ORBUtilSystemException.class, exc ) ;
  943. }
  944. return exc ;
  945. }
  946. public BAD_PARAM localObjectNotAllowed( CompletionStatus cs ) {
  947. return localObjectNotAllowed( cs, null ) ;
  948. }
  949. public BAD_PARAM localObjectNotAllowed( Throwable t ) {
  950. return localObjectNotAllowed( CompletionStatus.COMPLETED_NO, t ) ;
  951. }
  952. public BAD_PARAM localObjectNotAllowed( ) {
  953. return localObjectNotAllowed( CompletionStatus.COMPLETED_NO, null ) ;
  954. }
  955. public static final int NULL_OBJECT_REFERENCE = SUNVMCID.value + 207 ;
  956. public BAD_PARAM nullObjectReference( CompletionStatus cs, Throwable t ) {
  957. BAD_PARAM exc = new BAD_PARAM( NULL_OBJECT_REFERENCE, cs ) ;
  958. if (t != null)
  959. exc.initCause( t ) ;
  960. if (logger.isLoggable( Level.WARNING )) {
  961. Object[] parameters = null ;
  962. doLog( Level.WARNING, "ORBUTIL.nullObjectReference",
  963. parameters, ORBUtilSystemException.class, exc ) ;
  964. }
  965. return exc ;
  966. }
  967. public BAD_PARAM nullObjectReference( CompletionStatus cs ) {
  968. return nullObjectReference( cs, null ) ;
  969. }
  970. public BAD_PARAM nullObjectReference( Throwable t ) {
  971. return nullObjectReference( CompletionStatus.COMPLETED_NO, t ) ;
  972. }
  973. public BAD_PARAM nullObjectReference( ) {
  974. return nullObjectReference( CompletionStatus.COMPLETED_NO, null ) ;
  975. }
  976. public static final int COULD_NOT_LOAD_CLASS = SUNVMCID.value + 208 ;
  977. public BAD_PARAM couldNotLoadClass( CompletionStatus cs, Throwable t, Object arg0) {
  978. BAD_PARAM exc = new BAD_PARAM( COULD_NOT_LOAD_CLASS, cs ) ;
  979. if (t != null)
  980. exc.initCause( t ) ;
  981. if (logger.isLoggable( Level.WARNING )) {
  982. Object[] parameters = new Object[1] ;
  983. parameters[0] = arg0 ;
  984. doLog( Level.WARNING, "ORBUTIL.couldNotLoadClass",
  985. parameters, ORBUtilSystemException.class, exc ) ;
  986. }
  987. return exc ;
  988. }
  989. public BAD_PARAM couldNotLoadClass( CompletionStatus cs, Object arg0) {
  990. return couldNotLoadClass( cs, null, arg0 ) ;
  991. }
  992. public BAD_PARAM couldNotLoadClass( Throwable t, Object arg0) {
  993. return couldNotLoadClass( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  994. }
  995. public BAD_PARAM couldNotLoadClass( Object arg0) {
  996. return couldNotLoadClass( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  997. }
  998. public static final int BAD_URL = SUNVMCID.value + 209 ;
  999. public BAD_PARAM badUrl( CompletionStatus cs, Throwable t, Object arg0) {
  1000. BAD_PARAM exc = new BAD_PARAM( BAD_URL, cs ) ;
  1001. if (t != null)
  1002. exc.initCause( t ) ;
  1003. if (logger.isLoggable( Level.WARNING )) {
  1004. Object[] parameters = new Object[1] ;
  1005. parameters[0] = arg0 ;
  1006. doLog( Level.WARNING, "ORBUTIL.badUrl",
  1007. parameters, ORBUtilSystemException.class, exc ) ;
  1008. }
  1009. return exc ;
  1010. }
  1011. public BAD_PARAM badUrl( CompletionStatus cs, Object arg0) {
  1012. return badUrl( cs, null, arg0 ) ;
  1013. }
  1014. public BAD_PARAM badUrl( Throwable t, Object arg0) {
  1015. return badUrl( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  1016. }
  1017. public BAD_PARAM badUrl( Object arg0) {
  1018. return badUrl( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  1019. }
  1020. public static final int FIELD_NOT_FOUND = SUNVMCID.value + 210 ;
  1021. public BAD_PARAM fieldNotFound( CompletionStatus cs, Throwable t, Object arg0) {
  1022. BAD_PARAM exc = new BAD_PARAM( FIELD_NOT_FOUND, cs ) ;
  1023. if (t != null)
  1024. exc.initCause( t ) ;
  1025. if (logger.isLoggable( Level.WARNING )) {
  1026. Object[] parameters = new Object[1] ;
  1027. parameters[0] = arg0 ;
  1028. doLog( Level.WARNING, "ORBUTIL.fieldNotFound",
  1029. parameters, ORBUtilSystemException.class, exc ) ;
  1030. }
  1031. return exc ;
  1032. }
  1033. public BAD_PARAM fieldNotFound( CompletionStatus cs, Object arg0) {
  1034. return fieldNotFound( cs, null, arg0 ) ;
  1035. }
  1036. public BAD_PARAM fieldNotFound( Throwable t, Object arg0) {
  1037. return fieldNotFound( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  1038. }
  1039. public BAD_PARAM fieldNotFound( Object arg0) {
  1040. return fieldNotFound( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  1041. }
  1042. public static final int ERROR_SETTING_FIELD = SUNVMCID.value + 211 ;
  1043. public BAD_PARAM errorSettingField( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
  1044. BAD_PARAM exc = new BAD_PARAM( ERROR_SETTING_FIELD, cs ) ;
  1045. if (t != null)
  1046. exc.initCause( t ) ;
  1047. if (logger.isLoggable( Level.WARNING )) {
  1048. Object[] parameters = new Object[2] ;
  1049. parameters[0] = arg0 ;
  1050. parameters[1] = arg1 ;
  1051. doLog( Level.WARNING, "ORBUTIL.errorSettingField",
  1052. parameters, ORBUtilSystemException.class, exc ) ;
  1053. }
  1054. return exc ;
  1055. }
  1056. public BAD_PARAM errorSettingField( CompletionStatus cs, Object arg0, Object arg1) {
  1057. return errorSettingField( cs, null, arg0, arg1 ) ;
  1058. }
  1059. public BAD_PARAM errorSettingField( Throwable t, Object arg0, Object arg1) {
  1060. return errorSettingField( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
  1061. }
  1062. public BAD_PARAM errorSettingField( Object arg0, Object arg1) {
  1063. return errorSettingField( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
  1064. }
  1065. public static final int BOUNDS_ERROR_IN_DII_REQUEST = SUNVMCID.value + 212 ;
  1066. public BAD_PARAM boundsErrorInDiiRequest( CompletionStatus cs, Throwable t ) {
  1067. BAD_PARAM exc = new BAD_PARAM( BOUNDS_ERROR_IN_DII_REQUEST, cs ) ;
  1068. if (t != null)
  1069. exc.initCause( t ) ;
  1070. if (logger.isLoggable( Level.WARNING )) {
  1071. Object[] parameters = null ;
  1072. doLog( Level.WARNING, "ORBUTIL.boundsErrorInDiiRequest",
  1073. parameters, ORBUtilSystemException.class, exc ) ;
  1074. }
  1075. return exc ;
  1076. }
  1077. public BAD_PARAM boundsErrorInDiiRequest( CompletionStatus cs ) {
  1078. return boundsErrorInDiiRequest( cs, null ) ;
  1079. }
  1080. public BAD_PARAM boundsErrorInDiiRequest( Throwable t ) {
  1081. return boundsErrorInDiiRequest( CompletionStatus.COMPLETED_NO, t ) ;
  1082. }
  1083. public BAD_PARAM boundsErrorInDiiRequest( ) {
  1084. return boundsErrorInDiiRequest( CompletionStatus.COMPLETED_NO, null ) ;
  1085. }
  1086. public static final int PERSISTENT_SERVER_INIT_ERROR = SUNVMCID.value + 213 ;
  1087. public BAD_PARAM persistentServerInitError( CompletionStatus cs, Throwable t ) {
  1088. BAD_PARAM exc = new BAD_PARAM( PERSISTENT_SERVER_INIT_ERROR, cs ) ;
  1089. if (t != null)
  1090. exc.initCause( t ) ;
  1091. if (logger.isLoggable( Level.WARNING )) {
  1092. Object[] parameters = null ;
  1093. doLog( Level.WARNING, "ORBUTIL.persistentServerInitError",
  1094. parameters, ORBUtilSystemException.class, exc ) ;
  1095. }
  1096. return exc ;
  1097. }
  1098. public BAD_PARAM persistentServerInitError( CompletionStatus cs ) {
  1099. return persistentServerInitError( cs, null ) ;
  1100. }
  1101. public BAD_PARAM persistentServerInitError( Throwable t ) {
  1102. return persistentServerInitError( CompletionStatus.COMPLETED_NO, t ) ;
  1103. }
  1104. public BAD_PARAM persistentServerInitError( ) {
  1105. return persistentServerInitError( CompletionStatus.COMPLETED_NO, null ) ;
  1106. }
  1107. public static final int COULD_NOT_CREATE_ARRAY = SUNVMCID.value + 214 ;
  1108. public BAD_PARAM couldNotCreateArray( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
  1109. BAD_PARAM exc = new BAD_PARAM( COULD_NOT_CREATE_ARRAY, cs ) ;
  1110. if (t != null)
  1111. exc.initCause( t ) ;
  1112. if (logger.isLoggable( Level.WARNING )) {
  1113. Object[] parameters = new Object[3] ;
  1114. parameters[0] = arg0 ;
  1115. parameters[1] = arg1 ;
  1116. parameters[2] = arg2 ;
  1117. doLog( Level.WARNING, "ORBUTIL.couldNotCreateArray",
  1118. parameters, ORBUtilSystemException.class, exc ) ;
  1119. }
  1120. return exc ;
  1121. }
  1122. public BAD_PARAM couldNotCreateArray( CompletionStatus cs, Object arg0, Object arg1, Object arg2) {
  1123. return couldNotCreateArray( cs, null, arg0, arg1, arg2 ) ;
  1124. }
  1125. public BAD_PARAM couldNotCreateArray( Throwable t, Object arg0, Object arg1, Object arg2) {
  1126. return couldNotCreateArray( CompletionStatus.COMPLETED_NO, t, arg0, arg1, arg2 ) ;
  1127. }
  1128. public BAD_PARAM couldNotCreateArray( Object arg0, Object arg1, Object arg2) {
  1129. return couldNotCreateArray( CompletionStatus.COMPLETED_NO, null, arg0, arg1, arg2 ) ;
  1130. }
  1131. public static final int COULD_NOT_SET_ARRAY = SUNVMCID.value + 215 ;
  1132. public BAD_PARAM couldNotSetArray( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2, Object arg3, Object arg4) {
  1133. BAD_PARAM exc = new BAD_PARAM( COULD_NOT_SET_ARRAY, cs ) ;
  1134. if (t != null)
  1135. exc.initCause( t ) ;
  1136. if (logger.isLoggable( Level.WARNING )) {
  1137. Object[] parameters = new Object[5] ;
  1138. parameters[0] = arg0 ;
  1139. parameters[1] = arg1 ;
  1140. parameters[2] = arg2 ;
  1141. parameters[3] = arg3 ;
  1142. parameters[4] = arg4 ;
  1143. doLog( Level.WARNING, "ORBUTIL.couldNotSetArray",
  1144. parameters, ORBUtilSystemException.class, exc ) ;
  1145. }
  1146. return exc ;
  1147. }
  1148. public BAD_PARAM couldNotSetArray( CompletionStatus cs, Object arg0, Object arg1, Object arg2, Object arg3, Object arg4) {
  1149. return couldNotSetArray( cs, null, arg0, arg1, arg2, arg3, arg4 ) ;
  1150. }
  1151. public BAD_PARAM couldNotSetArray( Throwable t, Object arg0, Object arg1, Object arg2, Object arg3, Object arg4) {
  1152. return couldNotSetArray( CompletionStatus.COMPLETED_NO, t, arg0, arg1, arg2, arg3, arg4 ) ;
  1153. }
  1154. public BAD_PARAM couldNotSetArray( Object arg0, Object arg1, Object arg2, Object arg3, Object arg4) {
  1155. return couldNotSetArray( CompletionStatus.COMPLETED_NO, null, arg0, arg1, arg2, arg3, arg4 ) ;
  1156. }
  1157. public static final int ILLEGAL_BOOTSTRAP_OPERATION = SUNVMCID.value + 216 ;
  1158. public BAD_PARAM illegalBootstrapOperation( CompletionStatus cs, Throwable t, Object arg0) {
  1159. BAD_PARAM exc = new BAD_PARAM( ILLEGAL_BOOTSTRAP_OPERATION, cs ) ;
  1160. if (t != null)
  1161. exc.initCause( t ) ;
  1162. if (logger.isLoggable( Level.WARNING )) {
  1163. Object[] parameters = new Object[1] ;
  1164. parameters[0] = arg0 ;
  1165. doLog( Level.WARNING, "ORBUTIL.illegalBootstrapOperation",
  1166. parameters, ORBUtilSystemException.class, exc ) ;
  1167. }
  1168. return exc ;
  1169. }
  1170. public BAD_PARAM illegalBootstrapOperation( CompletionStatus cs, Object arg0) {
  1171. return illegalBootstrapOperation( cs, null, arg0 ) ;
  1172. }
  1173. public BAD_PARAM illegalBootstrapOperation( Throwable t, Object arg0) {
  1174. return illegalBootstrapOperation( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  1175. }
  1176. public BAD_PARAM illegalBootstrapOperation( Object arg0) {
  1177. return illegalBootstrapOperation( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  1178. }
  1179. public static final int BOOTSTRAP_RUNTIME_EXCEPTION = SUNVMCID.value + 217 ;
  1180. public BAD_PARAM bootstrapRuntimeException( CompletionStatus cs, Throwable t ) {
  1181. BAD_PARAM exc = new BAD_PARAM( BOOTSTRAP_RUNTIME_EXCEPTION, cs ) ;
  1182. if (t != null)
  1183. exc.initCause( t ) ;
  1184. if (logger.isLoggable( Level.WARNING )) {
  1185. Object[] parameters = null ;
  1186. doLog( Level.WARNING, "ORBUTIL.bootstrapRuntimeException",
  1187. parameters, ORBUtilSystemException.class, exc ) ;
  1188. }
  1189. return exc ;
  1190. }
  1191. public BAD_PARAM bootstrapRuntimeException( CompletionStatus cs ) {
  1192. return bootstrapRuntimeException( cs, null ) ;
  1193. }
  1194. public BAD_PARAM bootstrapRuntimeException( Throwable t ) {
  1195. return bootstrapRuntimeException( CompletionStatus.COMPLETED_NO, t ) ;
  1196. }
  1197. public BAD_PARAM bootstrapRuntimeException( ) {
  1198. return bootstrapRuntimeException( CompletionStatus.COMPLETED_NO, null ) ;
  1199. }
  1200. public static final int BOOTSTRAP_EXCEPTION = SUNVMCID.value + 218 ;
  1201. public BAD_PARAM bootstrapException( CompletionStatus cs, Throwable t ) {
  1202. BAD_PARAM exc = new BAD_PARAM( BOOTSTRAP_EXCEPTION, cs ) ;
  1203. if (t != null)
  1204. exc.initCause( t ) ;
  1205. if (logger.isLoggable( Level.WARNING )) {
  1206. Object[] parameters = null ;
  1207. doLog( Level.WARNING, "ORBUTIL.bootstrapException",
  1208. parameters, ORBUtilSystemException.class, exc ) ;
  1209. }
  1210. return exc ;
  1211. }
  1212. public BAD_PARAM bootstrapException( CompletionStatus cs ) {
  1213. return bootstrapException( cs, null ) ;
  1214. }
  1215. public BAD_PARAM bootstrapException( Throwable t ) {
  1216. return bootstrapException( CompletionStatus.COMPLETED_NO, t ) ;
  1217. }
  1218. public BAD_PARAM bootstrapException( ) {
  1219. return bootstrapException( CompletionStatus.COMPLETED_NO, null ) ;
  1220. }
  1221. public static final int STRING_EXPECTED = SUNVMCID.value + 219 ;
  1222. public BAD_PARAM stringExpected( CompletionStatus cs, Throwable t ) {
  1223. BAD_PARAM exc = new BAD_PARAM( STRING_EXPECTED, cs ) ;
  1224. if (t != null)
  1225. exc.initCause( t ) ;
  1226. if (logger.isLoggable( Level.WARNING )) {
  1227. Object[] parameters = null ;
  1228. doLog( Level.WARNING, "ORBUTIL.stringExpected",
  1229. parameters, ORBUtilSystemException.class, exc ) ;
  1230. }
  1231. return exc ;
  1232. }
  1233. public BAD_PARAM stringExpected( CompletionStatus cs ) {
  1234. return stringExpected( cs, null ) ;
  1235. }
  1236. public BAD_PARAM stringExpected( Throwable t ) {
  1237. return stringExpected( CompletionStatus.COMPLETED_NO, t ) ;
  1238. }
  1239. public BAD_PARAM stringExpected( ) {
  1240. return stringExpected( CompletionStatus.COMPLETED_NO, null ) ;
  1241. }
  1242. public static final int INVALID_TYPECODE_KIND = SUNVMCID.value + 220 ;
  1243. public BAD_PARAM invalidTypecodeKind( CompletionStatus cs, Throwable t, Object arg0) {
  1244. BAD_PARAM exc = new BAD_PARAM( INVALID_TYPECODE_KIND, cs ) ;
  1245. if (t != null)
  1246. exc.initCause( t ) ;
  1247. if (logger.isLoggable( Level.WARNING )) {
  1248. Object[] parameters = new Object[1] ;
  1249. parameters[0] = arg0 ;
  1250. doLog( Level.WARNING, "ORBUTIL.invalidTypecodeKind",
  1251. parameters, ORBUtilSystemException.class, exc ) ;
  1252. }
  1253. return exc ;
  1254. }
  1255. public BAD_PARAM invalidTypecodeKind( CompletionStatus cs, Object arg0) {
  1256. return invalidTypecodeKind( cs, null, arg0 ) ;
  1257. }
  1258. public BAD_PARAM invalidTypecodeKind( Throwable t, Object arg0) {
  1259. return invalidTypecodeKind( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  1260. }
  1261. public BAD_PARAM invalidTypecodeKind( Object arg0) {
  1262. return invalidTypecodeKind( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  1263. }
  1264. public static final int SOCKET_FACTORY_AND_CONTACT_INFO_LIST_AT_SAME_TIME = SUNVMCID.value + 221 ;
  1265. public BAD_PARAM socketFactoryAndContactInfoListAtSameTime( CompletionStatus cs, Throwable t ) {
  1266. BAD_PARAM exc = new BAD_PARAM( SOCKET_FACTORY_AND_CONTACT_INFO_LIST_AT_SAME_TIME, cs ) ;
  1267. if (t != null)
  1268. exc.initCause( t ) ;
  1269. if (logger.isLoggable( Level.WARNING )) {
  1270. Object[] parameters = null ;
  1271. doLog( Level.WARNING, "ORBUTIL.socketFactoryAndContactInfoListAtSameTime",
  1272. parameters, ORBUtilSystemException.class, exc ) ;
  1273. }
  1274. return exc ;
  1275. }
  1276. public BAD_PARAM socketFactoryAndContactInfoListAtSameTime( CompletionStatus cs ) {
  1277. return socketFactoryAndContactInfoListAtSameTime( cs, null ) ;
  1278. }
  1279. public BAD_PARAM socketFactoryAndContactInfoListAtSameTime( Throwable t ) {
  1280. return socketFactoryAndContactInfoListAtSameTime( CompletionStatus.COMPLETED_NO, t ) ;
  1281. }
  1282. public BAD_PARAM socketFactoryAndContactInfoListAtSameTime( ) {
  1283. return socketFactoryAndContactInfoListAtSameTime( CompletionStatus.COMPLETED_NO, null ) ;
  1284. }
  1285. public static final int ACCEPTORS_AND_LEGACY_SOCKET_FACTORY_AT_SAME_TIME = SUNVMCID.value + 222 ;
  1286. public BAD_PARAM acceptorsAndLegacySocketFactoryAtSameTime( CompletionStatus cs, Throwable t ) {
  1287. BAD_PARAM exc = new BAD_PARAM( ACCEPTORS_AND_LEGACY_SOCKET_FACTORY_AT_SAME_TIME, cs ) ;
  1288. if (t != null)
  1289. exc.initCause( t ) ;
  1290. if (logger.isLoggable( Level.WARNING )) {
  1291. Object[] parameters = null ;
  1292. doLog( Level.WARNING, "ORBUTIL.acceptorsAndLegacySocketFactoryAtSameTime",
  1293. parameters, ORBUtilSystemException.class, exc ) ;
  1294. }
  1295. return exc ;
  1296. }
  1297. public BAD_PARAM acceptorsAndLegacySocketFactoryAtSameTime( CompletionStatus cs ) {
  1298. return acceptorsAndLegacySocketFactoryAtSameTime( cs, null ) ;
  1299. }
  1300. public BAD_PARAM acceptorsAndLegacySocketFactoryAtSameTime( Throwable t ) {
  1301. return acceptorsAndLegacySocketFactoryAtSameTime( CompletionStatus.COMPLETED_NO, t ) ;
  1302. }
  1303. public BAD_PARAM acceptorsAndLegacySocketFactoryAtSameTime( ) {
  1304. return acceptorsAndLegacySocketFactoryAtSameTime( CompletionStatus.COMPLETED_NO, null ) ;
  1305. }
  1306. public static final int BAD_ORB_FOR_SERVANT = SUNVMCID.value + 223 ;
  1307. public BAD_PARAM badOrbForServant( CompletionStatus cs, Throwable t ) {
  1308. BAD_PARAM exc = new BAD_PARAM( BAD_ORB_FOR_SERVANT, cs ) ;
  1309. if (t != null)
  1310. exc.initCause( t ) ;
  1311. if (logger.isLoggable( Level.WARNING )) {
  1312. Object[] parameters = null ;
  1313. doLog( Level.WARNING, "ORBUTIL.badOrbForServant",
  1314. parameters, ORBUtilSystemException.class, exc ) ;
  1315. }
  1316. return exc ;
  1317. }
  1318. public BAD_PARAM badOrbForServant( CompletionStatus cs ) {
  1319. return badOrbForServant( cs, null ) ;
  1320. }
  1321. public BAD_PARAM badOrbForServant( Throwable t ) {
  1322. return badOrbForServant( CompletionStatus.COMPLETED_NO, t ) ;
  1323. }
  1324. public BAD_PARAM badOrbForServant( ) {
  1325. return badOrbForServant( CompletionStatus.COMPLETED_NO, null ) ;
  1326. }
  1327. public static final int INVALID_REQUEST_PARTITIONING_POLICY_VALUE = SUNVMCID.value + 224 ;
  1328. public BAD_PARAM invalidRequestPartitioningPolicyValue( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
  1329. BAD_PARAM exc = new BAD_PARAM( INVALID_REQUEST_PARTITIONING_POLICY_VALUE, cs ) ;
  1330. if (t != null)
  1331. exc.initCause( t ) ;
  1332. if (logger.isLoggable( Level.WARNING )) {
  1333. Object[] parameters = new Object[3] ;
  1334. parameters[0] = arg0 ;
  1335. parameters[1] = arg1 ;
  1336. parameters[2] = arg2 ;
  1337. doLog( Level.WARNING, "ORBUTIL.invalidRequestPartitioningPolicyValue",
  1338. parameters, ORBUtilSystemException.class, exc ) ;
  1339. }
  1340. return exc ;
  1341. }
  1342. public BAD_PARAM invalidRequestPartitioningPolicyValue( CompletionStatus cs, Object arg0, Object arg1, Object arg2) {
  1343. return invalidRequestPartitioningPolicyValue( cs, null, arg0, arg1, arg2 ) ;
  1344. }
  1345. public BAD_PARAM invalidRequestPartitioningPolicyValue( Throwable t, Object arg0, Object arg1, Object arg2) {
  1346. return invalidRequestPartitioningPolicyValue( CompletionStatus.COMPLETED_NO, t, arg0, arg1, arg2 ) ;
  1347. }
  1348. public BAD_PARAM invalidRequestPartitioningPolicyValue( Object arg0, Object arg1, Object arg2) {
  1349. return invalidRequestPartitioningPolicyValue( CompletionStatus.COMPLETED_NO, null, arg0, arg1, arg2 ) ;
  1350. }
  1351. public static final int INVALID_REQUEST_PARTITIONING_COMPONENT_VALUE = SUNVMCID.value + 225 ;
  1352. public BAD_PARAM invalidRequestPartitioningComponentValue( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
  1353. BAD_PARAM exc = new BAD_PARAM( INVALID_REQUEST_PARTITIONING_COMPONENT_VALUE, cs ) ;
  1354. if (t != null)
  1355. exc.initCause( t ) ;
  1356. if (logger.isLoggable( Level.WARNING )) {
  1357. Object[] parameters = new Object[3] ;
  1358. parameters[0] = arg0 ;
  1359. parameters[1] = arg1 ;
  1360. parameters[2] = arg2 ;
  1361. doLog( Level.WARNING, "ORBUTIL.invalidRequestPartitioningComponentValue",
  1362. parameters, ORBUtilSystemException.class, exc ) ;
  1363. }
  1364. return exc ;
  1365. }
  1366. public BAD_PARAM invalidRequestPartitioningComponentValue( CompletionStatus cs, Object arg0, Object arg1, Object arg2) {
  1367. return invalidRequestPartitioningComponentValue( cs, null, arg0, arg1, arg2 ) ;
  1368. }
  1369. public BAD_PARAM invalidRequestPartitioningComponentValue( Throwable t, Object arg0, Object arg1, Object arg2) {
  1370. return invalidRequestPartitioningComponentValue( CompletionStatus.COMPLETED_NO, t, arg0, arg1, arg2 ) ;
  1371. }
  1372. public BAD_PARAM invalidRequestPartitioningComponentValue( Object arg0, Object arg1, Object arg2) {
  1373. return invalidRequestPartitioningComponentValue( CompletionStatus.COMPLETED_NO, null, arg0, arg1, arg2 ) ;
  1374. }
  1375. public static final int INVALID_REQUEST_PARTITIONING_ID = SUNVMCID.value + 226 ;
  1376. public BAD_PARAM invalidRequestPartitioningId( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
  1377. BAD_PARAM exc = new BAD_PARAM( INVALID_REQUEST_PARTITIONING_ID, cs ) ;
  1378. if (t != null)
  1379. exc.initCause( t ) ;
  1380. if (logger.isLoggable( Level.WARNING )) {
  1381. Object[] parameters = new Object[3] ;
  1382. parameters[0] = arg0 ;
  1383. parameters[1] = arg1 ;
  1384. parameters[2] = arg2 ;
  1385. doLog( Level.WARNING, "ORBUTIL.invalidRequestPartitioningId",
  1386. parameters, ORBUtilSystemException.class, exc ) ;
  1387. }
  1388. return exc ;
  1389. }
  1390. public BAD_PARAM invalidRequestPartitioningId( CompletionStatus cs, Object arg0, Object arg1, Object arg2) {
  1391. return invalidRequestPartitioningId( cs, null, arg0, arg1, arg2 ) ;
  1392. }
  1393. public BAD_PARAM invalidRequestPartitioningId( Throwable t, Object arg0, Object arg1, Object arg2) {
  1394. return invalidRequestPartitioningId( CompletionStatus.COMPLETED_NO, t, arg0, arg1, arg2 ) ;
  1395. }
  1396. public BAD_PARAM invalidRequestPartitioningId( Object arg0, Object arg1, Object arg2) {
  1397. return invalidRequestPartitioningId( CompletionStatus.COMPLETED_NO, null, arg0, arg1, arg2 ) ;
  1398. }
  1399. public static final int ERROR_IN_SETTING_DYNAMIC_STUB_FACTORY_FACTORY = SUNVMCID.value + 227 ;
  1400. public BAD_PARAM errorInSettingDynamicStubFactoryFactory( CompletionStatus cs, Throwable t, Object arg0) {
  1401. BAD_PARAM exc = new BAD_PARAM( ERROR_IN_SETTING_DYNAMIC_STUB_FACTORY_FACTORY, cs ) ;
  1402. if (t != null)
  1403. exc.initCause( t ) ;
  1404. if (logger.isLoggable( Level.FINE )) {
  1405. Object[] parameters = new Object[1] ;
  1406. parameters[0] = arg0 ;
  1407. doLog( Level.FINE, "ORBUTIL.errorInSettingDynamicStubFactoryFactory",
  1408. parameters, ORBUtilSystemException.class, exc ) ;
  1409. }
  1410. return exc ;
  1411. }
  1412. public BAD_PARAM errorInSettingDynamicStubFactoryFactory( CompletionStatus cs, Object arg0) {
  1413. return errorInSettingDynamicStubFactoryFactory( cs, null, arg0 ) ;
  1414. }
  1415. public BAD_PARAM errorInSettingDynamicStubFactoryFactory( Throwable t, Object arg0) {
  1416. return errorInSettingDynamicStubFactoryFactory( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  1417. }
  1418. public BAD_PARAM errorInSettingDynamicStubFactoryFactory( Object arg0) {
  1419. return errorInSettingDynamicStubFactoryFactory( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  1420. }
  1421. ///////////////////////////////////////////////////////////
  1422. // BAD_INV_ORDER
  1423. ///////////////////////////////////////////////////////////
  1424. public static final int DSIMETHOD_NOTCALLED = SUNVMCID.value + 201 ;
  1425. public BAD_INV_ORDER dsimethodNotcalled( CompletionStatus cs, Throwable t ) {
  1426. BAD_INV_ORDER exc = new BAD_INV_ORDER( DSIMETHOD_NOTCALLED, cs ) ;
  1427. if (t != null)
  1428. exc.initCause( t ) ;
  1429. if (logger.isLoggable( Level.WARNING )) {
  1430. Object[] parameters = null ;
  1431. doLog( Level.WARNING, "ORBUTIL.dsimethodNotcalled",
  1432. parameters, ORBUtilSystemException.class, exc ) ;
  1433. }
  1434. return exc ;
  1435. }
  1436. public BAD_INV_ORDER dsimethodNotcalled( CompletionStatus cs ) {
  1437. return dsimethodNotcalled( cs, null ) ;
  1438. }
  1439. public BAD_INV_ORDER dsimethodNotcalled( Throwable t ) {
  1440. return dsimethodNotcalled( CompletionStatus.COMPLETED_NO, t ) ;
  1441. }
  1442. public BAD_INV_ORDER dsimethodNotcalled( ) {
  1443. return dsimethodNotcalled( CompletionStatus.COMPLETED_NO, null ) ;
  1444. }
  1445. public static final int ARGUMENTS_CALLED_MULTIPLE = SUNVMCID.value + 202 ;
  1446. public BAD_INV_ORDER argumentsCalledMultiple( CompletionStatus cs, Throwable t ) {
  1447. BAD_INV_ORDER exc = new BAD_INV_ORDER( ARGUMENTS_CALLED_MULTIPLE, cs ) ;
  1448. if (t != null)
  1449. exc.initCause( t ) ;
  1450. if (logger.isLoggable( Level.WARNING )) {
  1451. Object[] parameters = null ;
  1452. doLog( Level.WARNING, "ORBUTIL.argumentsCalledMultiple",
  1453. parameters, ORBUtilSystemException.class, exc ) ;
  1454. }
  1455. return exc ;
  1456. }
  1457. public BAD_INV_ORDER argumentsCalledMultiple( CompletionStatus cs ) {
  1458. return argumentsCalledMultiple( cs, null ) ;
  1459. }
  1460. public BAD_INV_ORDER argumentsCalledMultiple( Throwable t ) {
  1461. return argumentsCalledMultiple( CompletionStatus.COMPLETED_NO, t ) ;
  1462. }
  1463. public BAD_INV_ORDER argumentsCalledMultiple( ) {
  1464. return argumentsCalledMultiple( CompletionStatus.COMPLETED_NO, null ) ;
  1465. }
  1466. public static final int ARGUMENTS_CALLED_AFTER_EXCEPTION = SUNVMCID.value + 203 ;
  1467. public BAD_INV_ORDER argumentsCalledAfterException( CompletionStatus cs, Throwable t ) {
  1468. BAD_INV_ORDER exc = new BAD_INV_ORDER( ARGUMENTS_CALLED_AFTER_EXCEPTION, cs ) ;
  1469. if (t != null)
  1470. exc.initCause( t ) ;
  1471. if (logger.isLoggable( Level.WARNING )) {
  1472. Object[] parameters = null ;
  1473. doLog( Level.WARNING, "ORBUTIL.argumentsCalledAfterException",
  1474. parameters, ORBUtilSystemException.class, exc ) ;
  1475. }
  1476. return exc ;
  1477. }
  1478. public BAD_INV_ORDER argumentsCalledAfterException( CompletionStatus cs ) {
  1479. return argumentsCalledAfterException( cs, null ) ;
  1480. }
  1481. public BAD_INV_ORDER argumentsCalledAfterException( Throwable t ) {
  1482. return argumentsCalledAfterException( CompletionStatus.COMPLETED_NO, t ) ;
  1483. }
  1484. public BAD_INV_ORDER argumentsCalledAfterException( ) {
  1485. return argumentsCalledAfterException( CompletionStatus.COMPLETED_NO, null ) ;
  1486. }
  1487. public static final int ARGUMENTS_CALLED_NULL_ARGS = SUNVMCID.value + 204 ;
  1488. public BAD_INV_ORDER argumentsCalledNullArgs( CompletionStatus cs, Throwable t ) {
  1489. BAD_INV_ORDER exc = new BAD_INV_ORDER( ARGUMENTS_CALLED_NULL_ARGS, cs ) ;
  1490. if (t != null)
  1491. exc.initCause( t ) ;
  1492. if (logger.isLoggable( Level.WARNING )) {
  1493. Object[] parameters = null ;
  1494. doLog( Level.WARNING, "ORBUTIL.argumentsCalledNullArgs",
  1495. parameters, ORBUtilSystemException.class, exc ) ;
  1496. }
  1497. return exc ;
  1498. }
  1499. public BAD_INV_ORDER argumentsCalledNullArgs( CompletionStatus cs ) {
  1500. return argumentsCalledNullArgs( cs, null ) ;
  1501. }
  1502. public BAD_INV_ORDER argumentsCalledNullArgs( Throwable t ) {
  1503. return argumentsCalledNullArgs( CompletionStatus.COMPLETED_NO, t ) ;
  1504. }
  1505. public BAD_INV_ORDER argumentsCalledNullArgs( ) {
  1506. return argumentsCalledNullArgs( CompletionStatus.COMPLETED_NO, null ) ;
  1507. }
  1508. public static final int ARGUMENTS_NOT_CALLED = SUNVMCID.value + 205 ;
  1509. public BAD_INV_ORDER argumentsNotCalled( CompletionStatus cs, Throwable t ) {
  1510. BAD_INV_ORDER exc = new BAD_INV_ORDER( ARGUMENTS_NOT_CALLED, cs ) ;
  1511. if (t != null)
  1512. exc.initCause( t ) ;
  1513. if (logger.isLoggable( Level.FINE )) {
  1514. Object[] parameters = null ;
  1515. doLog( Level.FINE, "ORBUTIL.argumentsNotCalled",
  1516. parameters, ORBUtilSystemException.class, exc ) ;
  1517. }
  1518. return exc ;
  1519. }
  1520. public BAD_INV_ORDER argumentsNotCalled( CompletionStatus cs ) {
  1521. return argumentsNotCalled( cs, null ) ;
  1522. }
  1523. public BAD_INV_ORDER argumentsNotCalled( Throwable t ) {
  1524. return argumentsNotCalled( CompletionStatus.COMPLETED_NO, t ) ;
  1525. }
  1526. public BAD_INV_ORDER argumentsNotCalled( ) {
  1527. return argumentsNotCalled( CompletionStatus.COMPLETED_NO, null ) ;
  1528. }
  1529. public static final int SET_RESULT_CALLED_MULTIPLE = SUNVMCID.value + 206 ;
  1530. public BAD_INV_ORDER setResultCalledMultiple( CompletionStatus cs, Throwable t ) {
  1531. BAD_INV_ORDER exc = new BAD_INV_ORDER( SET_RESULT_CALLED_MULTIPLE, cs ) ;
  1532. if (t != null)
  1533. exc.initCause( t ) ;
  1534. if (logger.isLoggable( Level.WARNING )) {
  1535. Object[] parameters = null ;
  1536. doLog( Level.WARNING, "ORBUTIL.setResultCalledMultiple",
  1537. parameters, ORBUtilSystemException.class, exc ) ;
  1538. }
  1539. return exc ;
  1540. }
  1541. public BAD_INV_ORDER setResultCalledMultiple( CompletionStatus cs ) {
  1542. return setResultCalledMultiple( cs, null ) ;
  1543. }
  1544. public BAD_INV_ORDER setResultCalledMultiple( Throwable t ) {
  1545. return setResultCalledMultiple( CompletionStatus.COMPLETED_NO, t ) ;
  1546. }
  1547. public BAD_INV_ORDER setResultCalledMultiple( ) {
  1548. return setResultCalledMultiple( CompletionStatus.COMPLETED_NO, null ) ;
  1549. }
  1550. public static final int SET_RESULT_AFTER_EXCEPTION = SUNVMCID.value + 207 ;
  1551. public BAD_INV_ORDER setResultAfterException( CompletionStatus cs, Throwable t ) {
  1552. BAD_INV_ORDER exc = new BAD_INV_ORDER( SET_RESULT_AFTER_EXCEPTION, cs ) ;
  1553. if (t != null)
  1554. exc.initCause( t ) ;
  1555. if (logger.isLoggable( Level.FINE )) {
  1556. Object[] parameters = null ;
  1557. doLog( Level.FINE, "ORBUTIL.setResultAfterException",
  1558. parameters, ORBUtilSystemException.class, exc ) ;
  1559. }
  1560. return exc ;
  1561. }
  1562. public BAD_INV_ORDER setResultAfterException( CompletionStatus cs ) {
  1563. return setResultAfterException( cs, null ) ;
  1564. }
  1565. public BAD_INV_ORDER setResultAfterException( Throwable t ) {
  1566. return setResultAfterException( CompletionStatus.COMPLETED_NO, t ) ;
  1567. }
  1568. public BAD_INV_ORDER setResultAfterException( ) {
  1569. return setResultAfterException( CompletionStatus.COMPLETED_NO, null ) ;
  1570. }
  1571. public static final int SET_RESULT_CALLED_NULL_ARGS = SUNVMCID.value + 208 ;
  1572. public BAD_INV_ORDER setResultCalledNullArgs( CompletionStatus cs, Throwable t ) {
  1573. BAD_INV_ORDER exc = new BAD_INV_ORDER( SET_RESULT_CALLED_NULL_ARGS, cs ) ;
  1574. if (t != null)
  1575. exc.initCause( t ) ;
  1576. if (logger.isLoggable( Level.WARNING )) {
  1577. Object[] parameters = null ;
  1578. doLog( Level.WARNING, "ORBUTIL.setResultCalledNullArgs",
  1579. parameters, ORBUtilSystemException.class, exc ) ;
  1580. }
  1581. return exc ;
  1582. }
  1583. public BAD_INV_ORDER setResultCalledNullArgs( CompletionStatus cs ) {
  1584. return setResultCalledNullArgs( cs, null ) ;
  1585. }
  1586. public BAD_INV_ORDER setResultCalledNullArgs( Throwable t ) {
  1587. return setResultCalledNullArgs( CompletionStatus.COMPLETED_NO, t ) ;
  1588. }
  1589. public BAD_INV_ORDER setResultCalledNullArgs( ) {
  1590. return setResultCalledNullArgs( CompletionStatus.COMPLETED_NO, null ) ;
  1591. }
  1592. ///////////////////////////////////////////////////////////
  1593. // BAD_TYPECODE
  1594. ///////////////////////////////////////////////////////////
  1595. public static final int BAD_REMOTE_TYPECODE = SUNVMCID.value + 201 ;
  1596. public BAD_TYPECODE badRemoteTypecode( CompletionStatus cs, Throwable t ) {
  1597. BAD_TYPECODE exc = new BAD_TYPECODE( BAD_REMOTE_TYPECODE, cs ) ;
  1598. if (t != null)
  1599. exc.initCause( t ) ;
  1600. if (logger.isLoggable( Level.WARNING )) {
  1601. Object[] parameters = null ;
  1602. doLog( Level.WARNING, "ORBUTIL.badRemoteTypecode",
  1603. parameters, ORBUtilSystemException.class, exc ) ;
  1604. }
  1605. return exc ;
  1606. }
  1607. public BAD_TYPECODE badRemoteTypecode( CompletionStatus cs ) {
  1608. return badRemoteTypecode( cs, null ) ;
  1609. }
  1610. public BAD_TYPECODE badRemoteTypecode( Throwable t ) {
  1611. return badRemoteTypecode( CompletionStatus.COMPLETED_NO, t ) ;
  1612. }
  1613. public BAD_TYPECODE badRemoteTypecode( ) {
  1614. return badRemoteTypecode( CompletionStatus.COMPLETED_NO, null ) ;
  1615. }
  1616. public static final int UNRESOLVED_RECURSIVE_TYPECODE = SUNVMCID.value + 202 ;
  1617. public BAD_TYPECODE unresolvedRecursiveTypecode( CompletionStatus cs, Throwable t ) {
  1618. BAD_TYPECODE exc = new BAD_TYPECODE( UNRESOLVED_RECURSIVE_TYPECODE, cs ) ;
  1619. if (t != null)
  1620. exc.initCause( t ) ;
  1621. if (logger.isLoggable( Level.WARNING )) {
  1622. Object[] parameters = null ;
  1623. doLog( Level.WARNING, "ORBUTIL.unresolvedRecursiveTypecode",
  1624. parameters, ORBUtilSystemException.class, exc ) ;
  1625. }
  1626. return exc ;
  1627. }
  1628. public BAD_TYPECODE unresolvedRecursiveTypecode( CompletionStatus cs ) {
  1629. return unresolvedRecursiveTypecode( cs, null ) ;
  1630. }
  1631. public BAD_TYPECODE unresolvedRecursiveTypecode( Throwable t ) {
  1632. return unresolvedRecursiveTypecode( CompletionStatus.COMPLETED_NO, t ) ;
  1633. }
  1634. public BAD_TYPECODE unresolvedRecursiveTypecode( ) {
  1635. return unresolvedRecursiveTypecode( CompletionStatus.COMPLETED_NO, null ) ;
  1636. }
  1637. ///////////////////////////////////////////////////////////
  1638. // COMM_FAILURE
  1639. ///////////////////////////////////////////////////////////
  1640. public static final int CONNECT_FAILURE = SUNVMCID.value + 201 ;
  1641. public COMM_FAILURE connectFailure( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
  1642. COMM_FAILURE exc = new COMM_FAILURE( CONNECT_FAILURE, cs ) ;
  1643. if (t != null)
  1644. exc.initCause( t ) ;
  1645. if (logger.isLoggable( Level.WARNING )) {
  1646. Object[] parameters = new Object[3] ;
  1647. parameters[0] = arg0 ;
  1648. parameters[1] = arg1 ;
  1649. parameters[2] = arg2 ;
  1650. doLog( Level.WARNING, "ORBUTIL.connectFailure",
  1651. parameters, ORBUtilSystemException.class, exc ) ;
  1652. }
  1653. return exc ;
  1654. }
  1655. public COMM_FAILURE connectFailure( CompletionStatus cs, Object arg0, Object arg1, Object arg2) {
  1656. return connectFailure( cs, null, arg0, arg1, arg2 ) ;
  1657. }
  1658. public COMM_FAILURE connectFailure( Throwable t, Object arg0, Object arg1, Object arg2) {
  1659. return connectFailure( CompletionStatus.COMPLETED_NO, t, arg0, arg1, arg2 ) ;
  1660. }
  1661. public COMM_FAILURE connectFailure( Object arg0, Object arg1, Object arg2) {
  1662. return connectFailure( CompletionStatus.COMPLETED_NO, null, arg0, arg1, arg2 ) ;
  1663. }
  1664. public static final int CONNECTION_CLOSE_REBIND = SUNVMCID.value + 202 ;
  1665. public COMM_FAILURE connectionCloseRebind( CompletionStatus cs, Throwable t ) {
  1666. COMM_FAILURE exc = new COMM_FAILURE( CONNECTION_CLOSE_REBIND, cs ) ;
  1667. if (t != null)
  1668. exc.initCause( t ) ;
  1669. if (logger.isLoggable( Level.WARNING )) {
  1670. Object[] parameters = null ;
  1671. doLog( Level.WARNING, "ORBUTIL.connectionCloseRebind",
  1672. parameters, ORBUtilSystemException.class, exc ) ;
  1673. }
  1674. return exc ;
  1675. }
  1676. public COMM_FAILURE connectionCloseRebind( CompletionStatus cs ) {
  1677. return connectionCloseRebind( cs, null ) ;
  1678. }
  1679. public COMM_FAILURE connectionCloseRebind( Throwable t ) {
  1680. return connectionCloseRebind( CompletionStatus.COMPLETED_NO, t ) ;
  1681. }
  1682. public COMM_FAILURE connectionCloseRebind( ) {
  1683. return connectionCloseRebind( CompletionStatus.COMPLETED_NO, null ) ;
  1684. }
  1685. public static final int WRITE_ERROR_SEND = SUNVMCID.value + 203 ;
  1686. public COMM_FAILURE writeErrorSend( CompletionStatus cs, Throwable t ) {
  1687. COMM_FAILURE exc = new COMM_FAILURE( WRITE_ERROR_SEND, cs ) ;
  1688. if (t != null)
  1689. exc.initCause( t ) ;
  1690. if (logger.isLoggable( Level.FINE )) {
  1691. Object[] parameters = null ;
  1692. doLog( Level.FINE, "ORBUTIL.writeErrorSend",
  1693. parameters, ORBUtilSystemException.class, exc ) ;
  1694. }
  1695. return exc ;
  1696. }
  1697. public COMM_FAILURE writeErrorSend( CompletionStatus cs ) {
  1698. return writeErrorSend( cs, null ) ;
  1699. }
  1700. public COMM_FAILURE writeErrorSend( Throwable t ) {
  1701. return writeErrorSend( CompletionStatus.COMPLETED_NO, t ) ;
  1702. }
  1703. public COMM_FAILURE writeErrorSend( ) {
  1704. return writeErrorSend( CompletionStatus.COMPLETED_NO, null ) ;
  1705. }
  1706. public static final int GET_PROPERTIES_ERROR = SUNVMCID.value + 204 ;
  1707. public COMM_FAILURE getPropertiesError( CompletionStatus cs, Throwable t ) {
  1708. COMM_FAILURE exc = new COMM_FAILURE( GET_PROPERTIES_ERROR, cs ) ;
  1709. if (t != null)
  1710. exc.initCause( t ) ;
  1711. if (logger.isLoggable( Level.WARNING )) {
  1712. Object[] parameters = null ;
  1713. doLog( Level.WARNING, "ORBUTIL.getPropertiesError",
  1714. parameters, ORBUtilSystemException.class, exc ) ;
  1715. }
  1716. return exc ;
  1717. }
  1718. public COMM_FAILURE getPropertiesError( CompletionStatus cs ) {
  1719. return getPropertiesError( cs, null ) ;
  1720. }
  1721. public COMM_FAILURE getPropertiesError( Throwable t ) {
  1722. return getPropertiesError( CompletionStatus.COMPLETED_NO, t ) ;
  1723. }
  1724. public COMM_FAILURE getPropertiesError( ) {
  1725. return getPropertiesError( CompletionStatus.COMPLETED_NO, null ) ;
  1726. }
  1727. public static final int BOOTSTRAP_SERVER_NOT_AVAIL = SUNVMCID.value + 205 ;
  1728. public COMM_FAILURE bootstrapServerNotAvail( CompletionStatus cs, Throwable t ) {
  1729. COMM_FAILURE exc = new COMM_FAILURE( BOOTSTRAP_SERVER_NOT_AVAIL, cs ) ;
  1730. if (t != null)
  1731. exc.initCause( t ) ;
  1732. if (logger.isLoggable( Level.WARNING )) {
  1733. Object[] parameters = null ;
  1734. doLog( Level.WARNING, "ORBUTIL.bootstrapServerNotAvail",
  1735. parameters, ORBUtilSystemException.class, exc ) ;
  1736. }
  1737. return exc ;
  1738. }
  1739. public COMM_FAILURE bootstrapServerNotAvail( CompletionStatus cs ) {
  1740. return bootstrapServerNotAvail( cs, null ) ;
  1741. }
  1742. public COMM_FAILURE bootstrapServerNotAvail( Throwable t ) {
  1743. return bootstrapServerNotAvail( CompletionStatus.COMPLETED_NO, t ) ;
  1744. }
  1745. public COMM_FAILURE bootstrapServerNotAvail( ) {
  1746. return bootstrapServerNotAvail( CompletionStatus.COMPLETED_NO, null ) ;
  1747. }
  1748. public static final int INVOKE_ERROR = SUNVMCID.value + 206 ;
  1749. public COMM_FAILURE invokeError( CompletionStatus cs, Throwable t ) {
  1750. COMM_FAILURE exc = new COMM_FAILURE( INVOKE_ERROR, cs ) ;
  1751. if (t != null)
  1752. exc.initCause( t ) ;
  1753. if (logger.isLoggable( Level.WARNING )) {
  1754. Object[] parameters = null ;
  1755. doLog( Level.WARNING, "ORBUTIL.invokeError",
  1756. parameters, ORBUtilSystemException.class, exc ) ;
  1757. }
  1758. return exc ;
  1759. }
  1760. public COMM_FAILURE invokeError( CompletionStatus cs ) {
  1761. return invokeError( cs, null ) ;
  1762. }
  1763. public COMM_FAILURE invokeError( Throwable t ) {
  1764. return invokeError( CompletionStatus.COMPLETED_NO, t ) ;
  1765. }
  1766. public COMM_FAILURE invokeError( ) {
  1767. return invokeError( CompletionStatus.COMPLETED_NO, null ) ;
  1768. }
  1769. public static final int DEFAULT_CREATE_SERVER_SOCKET_GIVEN_NON_IIOP_CLEAR_TEXT = SUNVMCID.value + 207 ;
  1770. public COMM_FAILURE defaultCreateServerSocketGivenNonIiopClearText( CompletionStatus cs, Throwable t, Object arg0) {
  1771. COMM_FAILURE exc = new COMM_FAILURE( DEFAULT_CREATE_SERVER_SOCKET_GIVEN_NON_IIOP_CLEAR_TEXT, cs ) ;
  1772. if (t != null)
  1773. exc.initCause( t ) ;
  1774. if (logger.isLoggable( Level.WARNING )) {
  1775. Object[] parameters = new Object[1] ;
  1776. parameters[0] = arg0 ;
  1777. doLog( Level.WARNING, "ORBUTIL.defaultCreateServerSocketGivenNonIiopClearText",
  1778. parameters, ORBUtilSystemException.class, exc ) ;
  1779. }
  1780. return exc ;
  1781. }
  1782. public COMM_FAILURE defaultCreateServerSocketGivenNonIiopClearText( CompletionStatus cs, Object arg0) {
  1783. return defaultCreateServerSocketGivenNonIiopClearText( cs, null, arg0 ) ;
  1784. }
  1785. public COMM_FAILURE defaultCreateServerSocketGivenNonIiopClearText( Throwable t, Object arg0) {
  1786. return defaultCreateServerSocketGivenNonIiopClearText( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  1787. }
  1788. public COMM_FAILURE defaultCreateServerSocketGivenNonIiopClearText( Object arg0) {
  1789. return defaultCreateServerSocketGivenNonIiopClearText( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  1790. }
  1791. public static final int CONNECTION_ABORT = SUNVMCID.value + 208 ;
  1792. public COMM_FAILURE connectionAbort( CompletionStatus cs, Throwable t ) {
  1793. COMM_FAILURE exc = new COMM_FAILURE( CONNECTION_ABORT, cs ) ;
  1794. if (t != null)
  1795. exc.initCause( t ) ;
  1796. if (logger.isLoggable( Level.FINE )) {
  1797. Object[] parameters = null ;
  1798. doLog( Level.FINE, "ORBUTIL.connectionAbort",
  1799. parameters, ORBUtilSystemException.class, exc ) ;
  1800. }
  1801. return exc ;
  1802. }
  1803. public COMM_FAILURE connectionAbort( CompletionStatus cs ) {
  1804. return connectionAbort( cs, null ) ;
  1805. }
  1806. public COMM_FAILURE connectionAbort( Throwable t ) {
  1807. return connectionAbort( CompletionStatus.COMPLETED_NO, t ) ;
  1808. }
  1809. public COMM_FAILURE connectionAbort( ) {
  1810. return connectionAbort( CompletionStatus.COMPLETED_NO, null ) ;
  1811. }
  1812. public static final int CONNECTION_REBIND = SUNVMCID.value + 209 ;
  1813. public COMM_FAILURE connectionRebind( CompletionStatus cs, Throwable t ) {
  1814. COMM_FAILURE exc = new COMM_FAILURE( CONNECTION_REBIND, cs ) ;
  1815. if (t != null)
  1816. exc.initCause( t ) ;
  1817. if (logger.isLoggable( Level.WARNING )) {
  1818. Object[] parameters = null ;
  1819. doLog( Level.WARNING, "ORBUTIL.connectionRebind",
  1820. parameters, ORBUtilSystemException.class, exc ) ;
  1821. }
  1822. return exc ;
  1823. }
  1824. public COMM_FAILURE connectionRebind( CompletionStatus cs ) {
  1825. return connectionRebind( cs, null ) ;
  1826. }
  1827. public COMM_FAILURE connectionRebind( Throwable t ) {
  1828. return connectionRebind( CompletionStatus.COMPLETED_NO, t ) ;
  1829. }
  1830. public COMM_FAILURE connectionRebind( ) {
  1831. return connectionRebind( CompletionStatus.COMPLETED_NO, null ) ;
  1832. }
  1833. public static final int RECV_MSG_ERROR = SUNVMCID.value + 210 ;
  1834. public COMM_FAILURE recvMsgError( CompletionStatus cs, Throwable t ) {
  1835. COMM_FAILURE exc = new COMM_FAILURE( RECV_MSG_ERROR, cs ) ;
  1836. if (t != null)
  1837. exc.initCause( t ) ;
  1838. if (logger.isLoggable( Level.WARNING )) {
  1839. Object[] parameters = null ;
  1840. doLog( Level.WARNING, "ORBUTIL.recvMsgError",
  1841. parameters, ORBUtilSystemException.class, exc ) ;
  1842. }
  1843. return exc ;
  1844. }
  1845. public COMM_FAILURE recvMsgError( CompletionStatus cs ) {
  1846. return recvMsgError( cs, null ) ;
  1847. }
  1848. public COMM_FAILURE recvMsgError( Throwable t ) {
  1849. return recvMsgError( CompletionStatus.COMPLETED_NO, t ) ;
  1850. }
  1851. public COMM_FAILURE recvMsgError( ) {
  1852. return recvMsgError( CompletionStatus.COMPLETED_NO, null ) ;
  1853. }
  1854. public static final int IOEXCEPTION_WHEN_READING_CONNECTION = SUNVMCID.value + 211 ;
  1855. public COMM_FAILURE ioexceptionWhenReadingConnection( CompletionStatus cs, Throwable t ) {
  1856. COMM_FAILURE exc = new COMM_FAILURE( IOEXCEPTION_WHEN_READING_CONNECTION, cs ) ;
  1857. if (t != null)
  1858. exc.initCause( t ) ;
  1859. if (logger.isLoggable( Level.FINE )) {
  1860. Object[] parameters = null ;
  1861. doLog( Level.FINE, "ORBUTIL.ioexceptionWhenReadingConnection",
  1862. parameters, ORBUtilSystemException.class, exc ) ;
  1863. }
  1864. return exc ;
  1865. }
  1866. public COMM_FAILURE ioexceptionWhenReadingConnection( CompletionStatus cs ) {
  1867. return ioexceptionWhenReadingConnection( cs, null ) ;
  1868. }
  1869. public COMM_FAILURE ioexceptionWhenReadingConnection( Throwable t ) {
  1870. return ioexceptionWhenReadingConnection( CompletionStatus.COMPLETED_NO, t ) ;
  1871. }
  1872. public COMM_FAILURE ioexceptionWhenReadingConnection( ) {
  1873. return ioexceptionWhenReadingConnection( CompletionStatus.COMPLETED_NO, null ) ;
  1874. }
  1875. public static final int SELECTION_KEY_INVALID = SUNVMCID.value + 212 ;
  1876. public COMM_FAILURE selectionKeyInvalid( CompletionStatus cs, Throwable t, Object arg0) {
  1877. COMM_FAILURE exc = new COMM_FAILURE( SELECTION_KEY_INVALID, cs ) ;
  1878. if (t != null)
  1879. exc.initCause( t ) ;
  1880. if (logger.isLoggable( Level.FINE )) {
  1881. Object[] parameters = new Object[1] ;
  1882. parameters[0] = arg0 ;
  1883. doLog( Level.FINE, "ORBUTIL.selectionKeyInvalid",
  1884. parameters, ORBUtilSystemException.class, exc ) ;
  1885. }
  1886. return exc ;
  1887. }
  1888. public COMM_FAILURE selectionKeyInvalid( CompletionStatus cs, Object arg0) {
  1889. return selectionKeyInvalid( cs, null, arg0 ) ;
  1890. }
  1891. public COMM_FAILURE selectionKeyInvalid( Throwable t, Object arg0) {
  1892. return selectionKeyInvalid( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  1893. }
  1894. public COMM_FAILURE selectionKeyInvalid( Object arg0) {
  1895. return selectionKeyInvalid( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  1896. }
  1897. public static final int EXCEPTION_IN_ACCEPT = SUNVMCID.value + 213 ;
  1898. public COMM_FAILURE exceptionInAccept( CompletionStatus cs, Throwable t, Object arg0) {
  1899. COMM_FAILURE exc = new COMM_FAILURE( EXCEPTION_IN_ACCEPT, cs ) ;
  1900. if (t != null)
  1901. exc.initCause( t ) ;
  1902. if (logger.isLoggable( Level.FINE )) {
  1903. Object[] parameters = new Object[1] ;
  1904. parameters[0] = arg0 ;
  1905. doLog( Level.FINE, "ORBUTIL.exceptionInAccept",
  1906. parameters, ORBUtilSystemException.class, exc ) ;
  1907. }
  1908. return exc ;
  1909. }
  1910. public COMM_FAILURE exceptionInAccept( CompletionStatus cs, Object arg0) {
  1911. return exceptionInAccept( cs, null, arg0 ) ;
  1912. }
  1913. public COMM_FAILURE exceptionInAccept( Throwable t, Object arg0) {
  1914. return exceptionInAccept( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  1915. }
  1916. public COMM_FAILURE exceptionInAccept( Object arg0) {
  1917. return exceptionInAccept( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  1918. }
  1919. public static final int SECURITY_EXCEPTION_IN_ACCEPT = SUNVMCID.value + 214 ;
  1920. public COMM_FAILURE securityExceptionInAccept( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
  1921. COMM_FAILURE exc = new COMM_FAILURE( SECURITY_EXCEPTION_IN_ACCEPT, cs ) ;
  1922. if (t != null)
  1923. exc.initCause( t ) ;
  1924. if (logger.isLoggable( Level.FINE )) {
  1925. Object[] parameters = new Object[2] ;
  1926. parameters[0] = arg0 ;
  1927. parameters[1] = arg1 ;
  1928. doLog( Level.FINE, "ORBUTIL.securityExceptionInAccept",
  1929. parameters, ORBUtilSystemException.class, exc ) ;
  1930. }
  1931. return exc ;
  1932. }
  1933. public COMM_FAILURE securityExceptionInAccept( CompletionStatus cs, Object arg0, Object arg1) {
  1934. return securityExceptionInAccept( cs, null, arg0, arg1 ) ;
  1935. }
  1936. public COMM_FAILURE securityExceptionInAccept( Throwable t, Object arg0, Object arg1) {
  1937. return securityExceptionInAccept( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
  1938. }
  1939. public COMM_FAILURE securityExceptionInAccept( Object arg0, Object arg1) {
  1940. return securityExceptionInAccept( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
  1941. }
  1942. public static final int TRANSPORT_READ_TIMEOUT_EXCEEDED = SUNVMCID.value + 215 ;
  1943. public COMM_FAILURE transportReadTimeoutExceeded( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2, Object arg3) {
  1944. COMM_FAILURE exc = new COMM_FAILURE( TRANSPORT_READ_TIMEOUT_EXCEEDED, cs ) ;
  1945. if (t != null)
  1946. exc.initCause( t ) ;
  1947. if (logger.isLoggable( Level.WARNING )) {
  1948. Object[] parameters = new Object[4] ;
  1949. parameters[0] = arg0 ;
  1950. parameters[1] = arg1 ;
  1951. parameters[2] = arg2 ;
  1952. parameters[3] = arg3 ;
  1953. doLog( Level.WARNING, "ORBUTIL.transportReadTimeoutExceeded",
  1954. parameters, ORBUtilSystemException.class, exc ) ;
  1955. }
  1956. return exc ;
  1957. }
  1958. public COMM_FAILURE transportReadTimeoutExceeded( CompletionStatus cs, Object arg0, Object arg1, Object arg2, Object arg3) {
  1959. return transportReadTimeoutExceeded( cs, null, arg0, arg1, arg2, arg3 ) ;
  1960. }
  1961. public COMM_FAILURE transportReadTimeoutExceeded( Throwable t, Object arg0, Object arg1, Object arg2, Object arg3) {
  1962. return transportReadTimeoutExceeded( CompletionStatus.COMPLETED_NO, t, arg0, arg1, arg2, arg3 ) ;
  1963. }
  1964. public COMM_FAILURE transportReadTimeoutExceeded( Object arg0, Object arg1, Object arg2, Object arg3) {
  1965. return transportReadTimeoutExceeded( CompletionStatus.COMPLETED_NO, null, arg0, arg1, arg2, arg3 ) ;
  1966. }
  1967. public static final int CREATE_LISTENER_FAILED = SUNVMCID.value + 216 ;
  1968. public COMM_FAILURE createListenerFailed( CompletionStatus cs, Throwable t, Object arg0) {
  1969. COMM_FAILURE exc = new COMM_FAILURE( CREATE_LISTENER_FAILED, cs ) ;
  1970. if (t != null)
  1971. exc.initCause( t ) ;
  1972. if (logger.isLoggable( Level.SEVERE )) {
  1973. Object[] parameters = new Object[1] ;
  1974. parameters[0] = arg0 ;
  1975. doLog( Level.SEVERE, "ORBUTIL.createListenerFailed",
  1976. parameters, ORBUtilSystemException.class, exc ) ;
  1977. }
  1978. return exc ;
  1979. }
  1980. public COMM_FAILURE createListenerFailed( CompletionStatus cs, Object arg0) {
  1981. return createListenerFailed( cs, null, arg0 ) ;
  1982. }
  1983. public COMM_FAILURE createListenerFailed( Throwable t, Object arg0) {
  1984. return createListenerFailed( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  1985. }
  1986. public COMM_FAILURE createListenerFailed( Object arg0) {
  1987. return createListenerFailed( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  1988. }
  1989. ///////////////////////////////////////////////////////////
  1990. // DATA_CONVERSION
  1991. ///////////////////////////////////////////////////////////
  1992. public static final int BAD_STRINGIFIED_IOR_LEN = SUNVMCID.value + 201 ;
  1993. public DATA_CONVERSION badStringifiedIorLen( CompletionStatus cs, Throwable t ) {
  1994. DATA_CONVERSION exc = new DATA_CONVERSION( BAD_STRINGIFIED_IOR_LEN, cs ) ;
  1995. if (t != null)
  1996. exc.initCause( t ) ;
  1997. if (logger.isLoggable( Level.WARNING )) {
  1998. Object[] parameters = null ;
  1999. doLog( Level.WARNING, "ORBUTIL.badStringifiedIorLen",
  2000. parameters, ORBUtilSystemException.class, exc ) ;
  2001. }
  2002. return exc ;
  2003. }
  2004. public DATA_CONVERSION badStringifiedIorLen( CompletionStatus cs ) {
  2005. return badStringifiedIorLen( cs, null ) ;
  2006. }
  2007. public DATA_CONVERSION badStringifiedIorLen( Throwable t ) {
  2008. return badStringifiedIorLen( CompletionStatus.COMPLETED_NO, t ) ;
  2009. }
  2010. public DATA_CONVERSION badStringifiedIorLen( ) {
  2011. return badStringifiedIorLen( CompletionStatus.COMPLETED_NO, null ) ;
  2012. }
  2013. public static final int BAD_STRINGIFIED_IOR = SUNVMCID.value + 202 ;
  2014. public DATA_CONVERSION badStringifiedIor( CompletionStatus cs, Throwable t ) {
  2015. DATA_CONVERSION exc = new DATA_CONVERSION( BAD_STRINGIFIED_IOR, cs ) ;
  2016. if (t != null)
  2017. exc.initCause( t ) ;
  2018. if (logger.isLoggable( Level.WARNING )) {
  2019. Object[] parameters = null ;
  2020. doLog( Level.WARNING, "ORBUTIL.badStringifiedIor",
  2021. parameters, ORBUtilSystemException.class, exc ) ;
  2022. }
  2023. return exc ;
  2024. }
  2025. public DATA_CONVERSION badStringifiedIor( CompletionStatus cs ) {
  2026. return badStringifiedIor( cs, null ) ;
  2027. }
  2028. public DATA_CONVERSION badStringifiedIor( Throwable t ) {
  2029. return badStringifiedIor( CompletionStatus.COMPLETED_NO, t ) ;
  2030. }
  2031. public DATA_CONVERSION badStringifiedIor( ) {
  2032. return badStringifiedIor( CompletionStatus.COMPLETED_NO, null ) ;
  2033. }
  2034. public static final int BAD_MODIFIER = SUNVMCID.value + 203 ;
  2035. public DATA_CONVERSION badModifier( CompletionStatus cs, Throwable t ) {
  2036. DATA_CONVERSION exc = new DATA_CONVERSION( BAD_MODIFIER, cs ) ;
  2037. if (t != null)
  2038. exc.initCause( t ) ;
  2039. if (logger.isLoggable( Level.WARNING )) {
  2040. Object[] parameters = null ;
  2041. doLog( Level.WARNING, "ORBUTIL.badModifier",
  2042. parameters, ORBUtilSystemException.class, exc ) ;
  2043. }
  2044. return exc ;
  2045. }
  2046. public DATA_CONVERSION badModifier( CompletionStatus cs ) {
  2047. return badModifier( cs, null ) ;
  2048. }
  2049. public DATA_CONVERSION badModifier( Throwable t ) {
  2050. return badModifier( CompletionStatus.COMPLETED_NO, t ) ;
  2051. }
  2052. public DATA_CONVERSION badModifier( ) {
  2053. return badModifier( CompletionStatus.COMPLETED_NO, null ) ;
  2054. }
  2055. public static final int CODESET_INCOMPATIBLE = SUNVMCID.value + 204 ;
  2056. public DATA_CONVERSION codesetIncompatible( CompletionStatus cs, Throwable t ) {
  2057. DATA_CONVERSION exc = new DATA_CONVERSION( CODESET_INCOMPATIBLE, cs ) ;
  2058. if (t != null)
  2059. exc.initCause( t ) ;
  2060. if (logger.isLoggable( Level.WARNING )) {
  2061. Object[] parameters = null ;
  2062. doLog( Level.WARNING, "ORBUTIL.codesetIncompatible",
  2063. parameters, ORBUtilSystemException.class, exc ) ;
  2064. }
  2065. return exc ;
  2066. }
  2067. public DATA_CONVERSION codesetIncompatible( CompletionStatus cs ) {
  2068. return codesetIncompatible( cs, null ) ;
  2069. }
  2070. public DATA_CONVERSION codesetIncompatible( Throwable t ) {
  2071. return codesetIncompatible( CompletionStatus.COMPLETED_NO, t ) ;
  2072. }
  2073. public DATA_CONVERSION codesetIncompatible( ) {
  2074. return codesetIncompatible( CompletionStatus.COMPLETED_NO, null ) ;
  2075. }
  2076. public static final int BAD_HEX_DIGIT = SUNVMCID.value + 205 ;
  2077. public DATA_CONVERSION badHexDigit( CompletionStatus cs, Throwable t ) {
  2078. DATA_CONVERSION exc = new DATA_CONVERSION( BAD_HEX_DIGIT, cs ) ;
  2079. if (t != null)
  2080. exc.initCause( t ) ;
  2081. if (logger.isLoggable( Level.WARNING )) {
  2082. Object[] parameters = null ;
  2083. doLog( Level.WARNING, "ORBUTIL.badHexDigit",
  2084. parameters, ORBUtilSystemException.class, exc ) ;
  2085. }
  2086. return exc ;
  2087. }
  2088. public DATA_CONVERSION badHexDigit( CompletionStatus cs ) {
  2089. return badHexDigit( cs, null ) ;
  2090. }
  2091. public DATA_CONVERSION badHexDigit( Throwable t ) {
  2092. return badHexDigit( CompletionStatus.COMPLETED_NO, t ) ;
  2093. }
  2094. public DATA_CONVERSION badHexDigit( ) {
  2095. return badHexDigit( CompletionStatus.COMPLETED_NO, null ) ;
  2096. }
  2097. public static final int BAD_UNICODE_PAIR = SUNVMCID.value + 206 ;
  2098. public DATA_CONVERSION badUnicodePair( CompletionStatus cs, Throwable t ) {
  2099. DATA_CONVERSION exc = new DATA_CONVERSION( BAD_UNICODE_PAIR, cs ) ;
  2100. if (t != null)
  2101. exc.initCause( t ) ;
  2102. if (logger.isLoggable( Level.WARNING )) {
  2103. Object[] parameters = null ;
  2104. doLog( Level.WARNING, "ORBUTIL.badUnicodePair",
  2105. parameters, ORBUtilSystemException.class, exc ) ;
  2106. }
  2107. return exc ;
  2108. }
  2109. public DATA_CONVERSION badUnicodePair( CompletionStatus cs ) {
  2110. return badUnicodePair( cs, null ) ;
  2111. }
  2112. public DATA_CONVERSION badUnicodePair( Throwable t ) {
  2113. return badUnicodePair( CompletionStatus.COMPLETED_NO, t ) ;
  2114. }
  2115. public DATA_CONVERSION badUnicodePair( ) {
  2116. return badUnicodePair( CompletionStatus.COMPLETED_NO, null ) ;
  2117. }
  2118. public static final int BTC_RESULT_MORE_THAN_ONE_CHAR = SUNVMCID.value + 207 ;
  2119. public DATA_CONVERSION btcResultMoreThanOneChar( CompletionStatus cs, Throwable t ) {
  2120. DATA_CONVERSION exc = new DATA_CONVERSION( BTC_RESULT_MORE_THAN_ONE_CHAR, cs ) ;
  2121. if (t != null)
  2122. exc.initCause( t ) ;
  2123. if (logger.isLoggable( Level.WARNING )) {
  2124. Object[] parameters = null ;
  2125. doLog( Level.WARNING, "ORBUTIL.btcResultMoreThanOneChar",
  2126. parameters, ORBUtilSystemException.class, exc ) ;
  2127. }
  2128. return exc ;
  2129. }
  2130. public DATA_CONVERSION btcResultMoreThanOneChar( CompletionStatus cs ) {
  2131. return btcResultMoreThanOneChar( cs, null ) ;
  2132. }
  2133. public DATA_CONVERSION btcResultMoreThanOneChar( Throwable t ) {
  2134. return btcResultMoreThanOneChar( CompletionStatus.COMPLETED_NO, t ) ;
  2135. }
  2136. public DATA_CONVERSION btcResultMoreThanOneChar( ) {
  2137. return btcResultMoreThanOneChar( CompletionStatus.COMPLETED_NO, null ) ;
  2138. }
  2139. public static final int BAD_CODESETS_FROM_CLIENT = SUNVMCID.value + 208 ;
  2140. public DATA_CONVERSION badCodesetsFromClient( CompletionStatus cs, Throwable t ) {
  2141. DATA_CONVERSION exc = new DATA_CONVERSION( BAD_CODESETS_FROM_CLIENT, cs ) ;
  2142. if (t != null)
  2143. exc.initCause( t ) ;
  2144. if (logger.isLoggable( Level.WARNING )) {
  2145. Object[] parameters = null ;
  2146. doLog( Level.WARNING, "ORBUTIL.badCodesetsFromClient",
  2147. parameters, ORBUtilSystemException.class, exc ) ;
  2148. }
  2149. return exc ;
  2150. }
  2151. public DATA_CONVERSION badCodesetsFromClient( CompletionStatus cs ) {
  2152. return badCodesetsFromClient( cs, null ) ;
  2153. }
  2154. public DATA_CONVERSION badCodesetsFromClient( Throwable t ) {
  2155. return badCodesetsFromClient( CompletionStatus.COMPLETED_NO, t ) ;
  2156. }
  2157. public DATA_CONVERSION badCodesetsFromClient( ) {
  2158. return badCodesetsFromClient( CompletionStatus.COMPLETED_NO, null ) ;
  2159. }
  2160. public static final int INVALID_SINGLE_CHAR_CTB = SUNVMCID.value + 209 ;
  2161. public DATA_CONVERSION invalidSingleCharCtb( CompletionStatus cs, Throwable t ) {
  2162. DATA_CONVERSION exc = new DATA_CONVERSION( INVALID_SINGLE_CHAR_CTB, cs ) ;
  2163. if (t != null)
  2164. exc.initCause( t ) ;
  2165. if (logger.isLoggable( Level.WARNING )) {
  2166. Object[] parameters = null ;
  2167. doLog( Level.WARNING, "ORBUTIL.invalidSingleCharCtb",
  2168. parameters, ORBUtilSystemException.class, exc ) ;
  2169. }
  2170. return exc ;
  2171. }
  2172. public DATA_CONVERSION invalidSingleCharCtb( CompletionStatus cs ) {
  2173. return invalidSingleCharCtb( cs, null ) ;
  2174. }
  2175. public DATA_CONVERSION invalidSingleCharCtb( Throwable t ) {
  2176. return invalidSingleCharCtb( CompletionStatus.COMPLETED_NO, t ) ;
  2177. }
  2178. public DATA_CONVERSION invalidSingleCharCtb( ) {
  2179. return invalidSingleCharCtb( CompletionStatus.COMPLETED_NO, null ) ;
  2180. }
  2181. public static final int BAD_GIOP_1_1_CTB = SUNVMCID.value + 210 ;
  2182. public DATA_CONVERSION badGiop11Ctb( CompletionStatus cs, Throwable t ) {
  2183. DATA_CONVERSION exc = new DATA_CONVERSION( BAD_GIOP_1_1_CTB, cs ) ;
  2184. if (t != null)
  2185. exc.initCause( t ) ;
  2186. if (logger.isLoggable( Level.WARNING )) {
  2187. Object[] parameters = null ;
  2188. doLog( Level.WARNING, "ORBUTIL.badGiop11Ctb",
  2189. parameters, ORBUtilSystemException.class, exc ) ;
  2190. }
  2191. return exc ;
  2192. }
  2193. public DATA_CONVERSION badGiop11Ctb( CompletionStatus cs ) {
  2194. return badGiop11Ctb( cs, null ) ;
  2195. }
  2196. public DATA_CONVERSION badGiop11Ctb( Throwable t ) {
  2197. return badGiop11Ctb( CompletionStatus.COMPLETED_NO, t ) ;
  2198. }
  2199. public DATA_CONVERSION badGiop11Ctb( ) {
  2200. return badGiop11Ctb( CompletionStatus.COMPLETED_NO, null ) ;
  2201. }
  2202. public static final int BAD_SEQUENCE_BOUNDS = SUNVMCID.value + 212 ;
  2203. public DATA_CONVERSION badSequenceBounds( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
  2204. DATA_CONVERSION exc = new DATA_CONVERSION( BAD_SEQUENCE_BOUNDS, cs ) ;
  2205. if (t != null)
  2206. exc.initCause( t ) ;
  2207. if (logger.isLoggable( Level.WARNING )) {
  2208. Object[] parameters = new Object[2] ;
  2209. parameters[0] = arg0 ;
  2210. parameters[1] = arg1 ;
  2211. doLog( Level.WARNING, "ORBUTIL.badSequenceBounds",
  2212. parameters, ORBUtilSystemException.class, exc ) ;
  2213. }
  2214. return exc ;
  2215. }
  2216. public DATA_CONVERSION badSequenceBounds( CompletionStatus cs, Object arg0, Object arg1) {
  2217. return badSequenceBounds( cs, null, arg0, arg1 ) ;
  2218. }
  2219. public DATA_CONVERSION badSequenceBounds( Throwable t, Object arg0, Object arg1) {
  2220. return badSequenceBounds( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
  2221. }
  2222. public DATA_CONVERSION badSequenceBounds( Object arg0, Object arg1) {
  2223. return badSequenceBounds( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
  2224. }
  2225. public static final int ILLEGAL_SOCKET_FACTORY_TYPE = SUNVMCID.value + 213 ;
  2226. public DATA_CONVERSION illegalSocketFactoryType( CompletionStatus cs, Throwable t, Object arg0) {
  2227. DATA_CONVERSION exc = new DATA_CONVERSION( ILLEGAL_SOCKET_FACTORY_TYPE, cs ) ;
  2228. if (t != null)
  2229. exc.initCause( t ) ;
  2230. if (logger.isLoggable( Level.WARNING )) {
  2231. Object[] parameters = new Object[1] ;
  2232. parameters[0] = arg0 ;
  2233. doLog( Level.WARNING, "ORBUTIL.illegalSocketFactoryType",
  2234. parameters, ORBUtilSystemException.class, exc ) ;
  2235. }
  2236. return exc ;
  2237. }
  2238. public DATA_CONVERSION illegalSocketFactoryType( CompletionStatus cs, Object arg0) {
  2239. return illegalSocketFactoryType( cs, null, arg0 ) ;
  2240. }
  2241. public DATA_CONVERSION illegalSocketFactoryType( Throwable t, Object arg0) {
  2242. return illegalSocketFactoryType( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  2243. }
  2244. public DATA_CONVERSION illegalSocketFactoryType( Object arg0) {
  2245. return illegalSocketFactoryType( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  2246. }
  2247. public static final int BAD_CUSTOM_SOCKET_FACTORY = SUNVMCID.value + 214 ;
  2248. public DATA_CONVERSION badCustomSocketFactory( CompletionStatus cs, Throwable t, Object arg0) {
  2249. DATA_CONVERSION exc = new DATA_CONVERSION( BAD_CUSTOM_SOCKET_FACTORY, cs ) ;
  2250. if (t != null)
  2251. exc.initCause( t ) ;
  2252. if (logger.isLoggable( Level.WARNING )) {
  2253. Object[] parameters = new Object[1] ;
  2254. parameters[0] = arg0 ;
  2255. doLog( Level.WARNING, "ORBUTIL.badCustomSocketFactory",
  2256. parameters, ORBUtilSystemException.class, exc ) ;
  2257. }
  2258. return exc ;
  2259. }
  2260. public DATA_CONVERSION badCustomSocketFactory( CompletionStatus cs, Object arg0) {
  2261. return badCustomSocketFactory( cs, null, arg0 ) ;
  2262. }
  2263. public DATA_CONVERSION badCustomSocketFactory( Throwable t, Object arg0) {
  2264. return badCustomSocketFactory( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  2265. }
  2266. public DATA_CONVERSION badCustomSocketFactory( Object arg0) {
  2267. return badCustomSocketFactory( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  2268. }
  2269. public static final int FRAGMENT_SIZE_MINIMUM = SUNVMCID.value + 215 ;
  2270. public DATA_CONVERSION fragmentSizeMinimum( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
  2271. DATA_CONVERSION exc = new DATA_CONVERSION( FRAGMENT_SIZE_MINIMUM, cs ) ;
  2272. if (t != null)
  2273. exc.initCause( t ) ;
  2274. if (logger.isLoggable( Level.WARNING )) {
  2275. Object[] parameters = new Object[2] ;
  2276. parameters[0] = arg0 ;
  2277. parameters[1] = arg1 ;
  2278. doLog( Level.WARNING, "ORBUTIL.fragmentSizeMinimum",
  2279. parameters, ORBUtilSystemException.class, exc ) ;
  2280. }
  2281. return exc ;
  2282. }
  2283. public DATA_CONVERSION fragmentSizeMinimum( CompletionStatus cs, Object arg0, Object arg1) {
  2284. return fragmentSizeMinimum( cs, null, arg0, arg1 ) ;
  2285. }
  2286. public DATA_CONVERSION fragmentSizeMinimum( Throwable t, Object arg0, Object arg1) {
  2287. return fragmentSizeMinimum( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
  2288. }
  2289. public DATA_CONVERSION fragmentSizeMinimum( Object arg0, Object arg1) {
  2290. return fragmentSizeMinimum( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
  2291. }
  2292. public static final int FRAGMENT_SIZE_DIV = SUNVMCID.value + 216 ;
  2293. public DATA_CONVERSION fragmentSizeDiv( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
  2294. DATA_CONVERSION exc = new DATA_CONVERSION( FRAGMENT_SIZE_DIV, cs ) ;
  2295. if (t != null)
  2296. exc.initCause( t ) ;
  2297. if (logger.isLoggable( Level.WARNING )) {
  2298. Object[] parameters = new Object[2] ;
  2299. parameters[0] = arg0 ;
  2300. parameters[1] = arg1 ;
  2301. doLog( Level.WARNING, "ORBUTIL.fragmentSizeDiv",
  2302. parameters, ORBUtilSystemException.class, exc ) ;
  2303. }
  2304. return exc ;
  2305. }
  2306. public DATA_CONVERSION fragmentSizeDiv( CompletionStatus cs, Object arg0, Object arg1) {
  2307. return fragmentSizeDiv( cs, null, arg0, arg1 ) ;
  2308. }
  2309. public DATA_CONVERSION fragmentSizeDiv( Throwable t, Object arg0, Object arg1) {
  2310. return fragmentSizeDiv( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
  2311. }
  2312. public DATA_CONVERSION fragmentSizeDiv( Object arg0, Object arg1) {
  2313. return fragmentSizeDiv( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
  2314. }
  2315. public static final int ORB_INITIALIZER_FAILURE = SUNVMCID.value + 217 ;
  2316. public DATA_CONVERSION orbInitializerFailure( CompletionStatus cs, Throwable t, Object arg0) {
  2317. DATA_CONVERSION exc = new DATA_CONVERSION( ORB_INITIALIZER_FAILURE, cs ) ;
  2318. if (t != null)
  2319. exc.initCause( t ) ;
  2320. if (logger.isLoggable( Level.WARNING )) {
  2321. Object[] parameters = new Object[1] ;
  2322. parameters[0] = arg0 ;
  2323. doLog( Level.WARNING, "ORBUTIL.orbInitializerFailure",
  2324. parameters, ORBUtilSystemException.class, exc ) ;
  2325. }
  2326. return exc ;
  2327. }
  2328. public DATA_CONVERSION orbInitializerFailure( CompletionStatus cs, Object arg0) {
  2329. return orbInitializerFailure( cs, null, arg0 ) ;
  2330. }
  2331. public DATA_CONVERSION orbInitializerFailure( Throwable t, Object arg0) {
  2332. return orbInitializerFailure( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  2333. }
  2334. public DATA_CONVERSION orbInitializerFailure( Object arg0) {
  2335. return orbInitializerFailure( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  2336. }
  2337. public static final int ORB_INITIALIZER_TYPE = SUNVMCID.value + 218 ;
  2338. public DATA_CONVERSION orbInitializerType( CompletionStatus cs, Throwable t, Object arg0) {
  2339. DATA_CONVERSION exc = new DATA_CONVERSION( ORB_INITIALIZER_TYPE, cs ) ;
  2340. if (t != null)
  2341. exc.initCause( t ) ;
  2342. if (logger.isLoggable( Level.WARNING )) {
  2343. Object[] parameters = new Object[1] ;
  2344. parameters[0] = arg0 ;
  2345. doLog( Level.WARNING, "ORBUTIL.orbInitializerType",
  2346. parameters, ORBUtilSystemException.class, exc ) ;
  2347. }
  2348. return exc ;
  2349. }
  2350. public DATA_CONVERSION orbInitializerType( CompletionStatus cs, Object arg0) {
  2351. return orbInitializerType( cs, null, arg0 ) ;
  2352. }
  2353. public DATA_CONVERSION orbInitializerType( Throwable t, Object arg0) {
  2354. return orbInitializerType( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  2355. }
  2356. public DATA_CONVERSION orbInitializerType( Object arg0) {
  2357. return orbInitializerType( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  2358. }
  2359. public static final int ORB_INITIALREFERENCE_SYNTAX = SUNVMCID.value + 219 ;
  2360. public DATA_CONVERSION orbInitialreferenceSyntax( CompletionStatus cs, Throwable t ) {
  2361. DATA_CONVERSION exc = new DATA_CONVERSION( ORB_INITIALREFERENCE_SYNTAX, cs ) ;
  2362. if (t != null)
  2363. exc.initCause( t ) ;
  2364. if (logger.isLoggable( Level.WARNING )) {
  2365. Object[] parameters = null ;
  2366. doLog( Level.WARNING, "ORBUTIL.orbInitialreferenceSyntax",
  2367. parameters, ORBUtilSystemException.class, exc ) ;
  2368. }
  2369. return exc ;
  2370. }
  2371. public DATA_CONVERSION orbInitialreferenceSyntax( CompletionStatus cs ) {
  2372. return orbInitialreferenceSyntax( cs, null ) ;
  2373. }
  2374. public DATA_CONVERSION orbInitialreferenceSyntax( Throwable t ) {
  2375. return orbInitialreferenceSyntax( CompletionStatus.COMPLETED_NO, t ) ;
  2376. }
  2377. public DATA_CONVERSION orbInitialreferenceSyntax( ) {
  2378. return orbInitialreferenceSyntax( CompletionStatus.COMPLETED_NO, null ) ;
  2379. }
  2380. public static final int ACCEPTOR_INSTANTIATION_FAILURE = SUNVMCID.value + 220 ;
  2381. public DATA_CONVERSION acceptorInstantiationFailure( CompletionStatus cs, Throwable t, Object arg0) {
  2382. DATA_CONVERSION exc = new DATA_CONVERSION( ACCEPTOR_INSTANTIATION_FAILURE, cs ) ;
  2383. if (t != null)
  2384. exc.initCause( t ) ;
  2385. if (logger.isLoggable( Level.WARNING )) {
  2386. Object[] parameters = new Object[1] ;
  2387. parameters[0] = arg0 ;
  2388. doLog( Level.WARNING, "ORBUTIL.acceptorInstantiationFailure",
  2389. parameters, ORBUtilSystemException.class, exc ) ;
  2390. }
  2391. return exc ;
  2392. }
  2393. public DATA_CONVERSION acceptorInstantiationFailure( CompletionStatus cs, Object arg0) {
  2394. return acceptorInstantiationFailure( cs, null, arg0 ) ;
  2395. }
  2396. public DATA_CONVERSION acceptorInstantiationFailure( Throwable t, Object arg0) {
  2397. return acceptorInstantiationFailure( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  2398. }
  2399. public DATA_CONVERSION acceptorInstantiationFailure( Object arg0) {
  2400. return acceptorInstantiationFailure( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  2401. }
  2402. public static final int ACCEPTOR_INSTANTIATION_TYPE_FAILURE = SUNVMCID.value + 221 ;
  2403. public DATA_CONVERSION acceptorInstantiationTypeFailure( CompletionStatus cs, Throwable t, Object arg0) {
  2404. DATA_CONVERSION exc = new DATA_CONVERSION( ACCEPTOR_INSTANTIATION_TYPE_FAILURE, cs ) ;
  2405. if (t != null)
  2406. exc.initCause( t ) ;
  2407. if (logger.isLoggable( Level.WARNING )) {
  2408. Object[] parameters = new Object[1] ;
  2409. parameters[0] = arg0 ;
  2410. doLog( Level.WARNING, "ORBUTIL.acceptorInstantiationTypeFailure",
  2411. parameters, ORBUtilSystemException.class, exc ) ;
  2412. }
  2413. return exc ;
  2414. }
  2415. public DATA_CONVERSION acceptorInstantiationTypeFailure( CompletionStatus cs, Object arg0) {
  2416. return acceptorInstantiationTypeFailure( cs, null, arg0 ) ;
  2417. }
  2418. public DATA_CONVERSION acceptorInstantiationTypeFailure( Throwable t, Object arg0) {
  2419. return acceptorInstantiationTypeFailure( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  2420. }
  2421. public DATA_CONVERSION acceptorInstantiationTypeFailure( Object arg0) {
  2422. return acceptorInstantiationTypeFailure( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  2423. }
  2424. public static final int ILLEGAL_CONTACT_INFO_LIST_FACTORY_TYPE = SUNVMCID.value + 222 ;
  2425. public DATA_CONVERSION illegalContactInfoListFactoryType( CompletionStatus cs, Throwable t, Object arg0) {
  2426. DATA_CONVERSION exc = new DATA_CONVERSION( ILLEGAL_CONTACT_INFO_LIST_FACTORY_TYPE, cs ) ;
  2427. if (t != null)
  2428. exc.initCause( t ) ;
  2429. if (logger.isLoggable( Level.WARNING )) {
  2430. Object[] parameters = new Object[1] ;
  2431. parameters[0] = arg0 ;
  2432. doLog( Level.WARNING, "ORBUTIL.illegalContactInfoListFactoryType",
  2433. parameters, ORBUtilSystemException.class, exc ) ;
  2434. }
  2435. return exc ;
  2436. }
  2437. public DATA_CONVERSION illegalContactInfoListFactoryType( CompletionStatus cs, Object arg0) {
  2438. return illegalContactInfoListFactoryType( cs, null, arg0 ) ;
  2439. }
  2440. public DATA_CONVERSION illegalContactInfoListFactoryType( Throwable t, Object arg0) {
  2441. return illegalContactInfoListFactoryType( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  2442. }
  2443. public DATA_CONVERSION illegalContactInfoListFactoryType( Object arg0) {
  2444. return illegalContactInfoListFactoryType( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  2445. }
  2446. public static final int BAD_CONTACT_INFO_LIST_FACTORY = SUNVMCID.value + 223 ;
  2447. public DATA_CONVERSION badContactInfoListFactory( CompletionStatus cs, Throwable t, Object arg0) {
  2448. DATA_CONVERSION exc = new DATA_CONVERSION( BAD_CONTACT_INFO_LIST_FACTORY, cs ) ;
  2449. if (t != null)
  2450. exc.initCause( t ) ;
  2451. if (logger.isLoggable( Level.WARNING )) {
  2452. Object[] parameters = new Object[1] ;
  2453. parameters[0] = arg0 ;
  2454. doLog( Level.WARNING, "ORBUTIL.badContactInfoListFactory",
  2455. parameters, ORBUtilSystemException.class, exc ) ;
  2456. }
  2457. return exc ;
  2458. }
  2459. public DATA_CONVERSION badContactInfoListFactory( CompletionStatus cs, Object arg0) {
  2460. return badContactInfoListFactory( cs, null, arg0 ) ;
  2461. }
  2462. public DATA_CONVERSION badContactInfoListFactory( Throwable t, Object arg0) {
  2463. return badContactInfoListFactory( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  2464. }
  2465. public DATA_CONVERSION badContactInfoListFactory( Object arg0) {
  2466. return badContactInfoListFactory( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  2467. }
  2468. public static final int ILLEGAL_IOR_TO_SOCKET_INFO_TYPE = SUNVMCID.value + 224 ;
  2469. public DATA_CONVERSION illegalIorToSocketInfoType( CompletionStatus cs, Throwable t, Object arg0) {
  2470. DATA_CONVERSION exc = new DATA_CONVERSION( ILLEGAL_IOR_TO_SOCKET_INFO_TYPE, cs ) ;
  2471. if (t != null)
  2472. exc.initCause( t ) ;
  2473. if (logger.isLoggable( Level.WARNING )) {
  2474. Object[] parameters = new Object[1] ;
  2475. parameters[0] = arg0 ;
  2476. doLog( Level.WARNING, "ORBUTIL.illegalIorToSocketInfoType",
  2477. parameters, ORBUtilSystemException.class, exc ) ;
  2478. }
  2479. return exc ;
  2480. }
  2481. public DATA_CONVERSION illegalIorToSocketInfoType( CompletionStatus cs, Object arg0) {
  2482. return illegalIorToSocketInfoType( cs, null, arg0 ) ;
  2483. }
  2484. public DATA_CONVERSION illegalIorToSocketInfoType( Throwable t, Object arg0) {
  2485. return illegalIorToSocketInfoType( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  2486. }
  2487. public DATA_CONVERSION illegalIorToSocketInfoType( Object arg0) {
  2488. return illegalIorToSocketInfoType( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  2489. }
  2490. public static final int BAD_CUSTOM_IOR_TO_SOCKET_INFO = SUNVMCID.value + 225 ;
  2491. public DATA_CONVERSION badCustomIorToSocketInfo( CompletionStatus cs, Throwable t, Object arg0) {
  2492. DATA_CONVERSION exc = new DATA_CONVERSION( BAD_CUSTOM_IOR_TO_SOCKET_INFO, cs ) ;
  2493. if (t != null)
  2494. exc.initCause( t ) ;
  2495. if (logger.isLoggable( Level.WARNING )) {
  2496. Object[] parameters = new Object[1] ;
  2497. parameters[0] = arg0 ;
  2498. doLog( Level.WARNING, "ORBUTIL.badCustomIorToSocketInfo",
  2499. parameters, ORBUtilSystemException.class, exc ) ;
  2500. }
  2501. return exc ;
  2502. }
  2503. public DATA_CONVERSION badCustomIorToSocketInfo( CompletionStatus cs, Object arg0) {
  2504. return badCustomIorToSocketInfo( cs, null, arg0 ) ;
  2505. }
  2506. public DATA_CONVERSION badCustomIorToSocketInfo( Throwable t, Object arg0) {
  2507. return badCustomIorToSocketInfo( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  2508. }
  2509. public DATA_CONVERSION badCustomIorToSocketInfo( Object arg0) {
  2510. return badCustomIorToSocketInfo( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  2511. }
  2512. public static final int ILLEGAL_IIOP_PRIMARY_TO_CONTACT_INFO_TYPE = SUNVMCID.value + 226 ;
  2513. public DATA_CONVERSION illegalIiopPrimaryToContactInfoType( CompletionStatus cs, Throwable t, Object arg0) {
  2514. DATA_CONVERSION exc = new DATA_CONVERSION( ILLEGAL_IIOP_PRIMARY_TO_CONTACT_INFO_TYPE, cs ) ;
  2515. if (t != null)
  2516. exc.initCause( t ) ;
  2517. if (logger.isLoggable( Level.WARNING )) {
  2518. Object[] parameters = new Object[1] ;
  2519. parameters[0] = arg0 ;
  2520. doLog( Level.WARNING, "ORBUTIL.illegalIiopPrimaryToContactInfoType",
  2521. parameters, ORBUtilSystemException.class, exc ) ;
  2522. }
  2523. return exc ;
  2524. }
  2525. public DATA_CONVERSION illegalIiopPrimaryToContactInfoType( CompletionStatus cs, Object arg0) {
  2526. return illegalIiopPrimaryToContactInfoType( cs, null, arg0 ) ;
  2527. }
  2528. public DATA_CONVERSION illegalIiopPrimaryToContactInfoType( Throwable t, Object arg0) {
  2529. return illegalIiopPrimaryToContactInfoType( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  2530. }
  2531. public DATA_CONVERSION illegalIiopPrimaryToContactInfoType( Object arg0) {
  2532. return illegalIiopPrimaryToContactInfoType( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  2533. }
  2534. public static final int BAD_CUSTOM_IIOP_PRIMARY_TO_CONTACT_INFO = SUNVMCID.value + 227 ;
  2535. public DATA_CONVERSION badCustomIiopPrimaryToContactInfo( CompletionStatus cs, Throwable t, Object arg0) {
  2536. DATA_CONVERSION exc = new DATA_CONVERSION( BAD_CUSTOM_IIOP_PRIMARY_TO_CONTACT_INFO, cs ) ;
  2537. if (t != null)
  2538. exc.initCause( t ) ;
  2539. if (logger.isLoggable( Level.WARNING )) {
  2540. Object[] parameters = new Object[1] ;
  2541. parameters[0] = arg0 ;
  2542. doLog( Level.WARNING, "ORBUTIL.badCustomIiopPrimaryToContactInfo",
  2543. parameters, ORBUtilSystemException.class, exc ) ;
  2544. }
  2545. return exc ;
  2546. }
  2547. public DATA_CONVERSION badCustomIiopPrimaryToContactInfo( CompletionStatus cs, Object arg0) {
  2548. return badCustomIiopPrimaryToContactInfo( cs, null, arg0 ) ;
  2549. }
  2550. public DATA_CONVERSION badCustomIiopPrimaryToContactInfo( Throwable t, Object arg0) {
  2551. return badCustomIiopPrimaryToContactInfo( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  2552. }
  2553. public DATA_CONVERSION badCustomIiopPrimaryToContactInfo( Object arg0) {
  2554. return badCustomIiopPrimaryToContactInfo( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  2555. }
  2556. ///////////////////////////////////////////////////////////
  2557. // INV_OBJREF
  2558. ///////////////////////////////////////////////////////////
  2559. public static final int BAD_CORBALOC_STRING = SUNVMCID.value + 201 ;
  2560. public INV_OBJREF badCorbalocString( CompletionStatus cs, Throwable t ) {
  2561. INV_OBJREF exc = new INV_OBJREF( BAD_CORBALOC_STRING, cs ) ;
  2562. if (t != null)
  2563. exc.initCause( t ) ;
  2564. if (logger.isLoggable( Level.WARNING )) {
  2565. Object[] parameters = null ;
  2566. doLog( Level.WARNING, "ORBUTIL.badCorbalocString",
  2567. parameters, ORBUtilSystemException.class, exc ) ;
  2568. }
  2569. return exc ;
  2570. }
  2571. public INV_OBJREF badCorbalocString( CompletionStatus cs ) {
  2572. return badCorbalocString( cs, null ) ;
  2573. }
  2574. public INV_OBJREF badCorbalocString( Throwable t ) {
  2575. return badCorbalocString( CompletionStatus.COMPLETED_NO, t ) ;
  2576. }
  2577. public INV_OBJREF badCorbalocString( ) {
  2578. return badCorbalocString( CompletionStatus.COMPLETED_NO, null ) ;
  2579. }
  2580. public static final int NO_PROFILE_PRESENT = SUNVMCID.value + 202 ;
  2581. public INV_OBJREF noProfilePresent( CompletionStatus cs, Throwable t ) {
  2582. INV_OBJREF exc = new INV_OBJREF( NO_PROFILE_PRESENT, cs ) ;
  2583. if (t != null)
  2584. exc.initCause( t ) ;
  2585. if (logger.isLoggable( Level.WARNING )) {
  2586. Object[] parameters = null ;
  2587. doLog( Level.WARNING, "ORBUTIL.noProfilePresent",
  2588. parameters, ORBUtilSystemException.class, exc ) ;
  2589. }
  2590. return exc ;
  2591. }
  2592. public INV_OBJREF noProfilePresent( CompletionStatus cs ) {
  2593. return noProfilePresent( cs, null ) ;
  2594. }
  2595. public INV_OBJREF noProfilePresent( Throwable t ) {
  2596. return noProfilePresent( CompletionStatus.COMPLETED_NO, t ) ;
  2597. }
  2598. public INV_OBJREF noProfilePresent( ) {
  2599. return noProfilePresent( CompletionStatus.COMPLETED_NO, null ) ;
  2600. }
  2601. ///////////////////////////////////////////////////////////
  2602. // INITIALIZE
  2603. ///////////////////////////////////////////////////////////
  2604. public static final int CANNOT_CREATE_ORBID_DB = SUNVMCID.value + 201 ;
  2605. public INITIALIZE cannotCreateOrbidDb( CompletionStatus cs, Throwable t ) {
  2606. INITIALIZE exc = new INITIALIZE( CANNOT_CREATE_ORBID_DB, cs ) ;
  2607. if (t != null)
  2608. exc.initCause( t ) ;
  2609. if (logger.isLoggable( Level.WARNING )) {
  2610. Object[] parameters = null ;
  2611. doLog( Level.WARNING, "ORBUTIL.cannotCreateOrbidDb",
  2612. parameters, ORBUtilSystemException.class, exc ) ;
  2613. }
  2614. return exc ;
  2615. }
  2616. public INITIALIZE cannotCreateOrbidDb( CompletionStatus cs ) {
  2617. return cannotCreateOrbidDb( cs, null ) ;
  2618. }
  2619. public INITIALIZE cannotCreateOrbidDb( Throwable t ) {
  2620. return cannotCreateOrbidDb( CompletionStatus.COMPLETED_NO, t ) ;
  2621. }
  2622. public INITIALIZE cannotCreateOrbidDb( ) {
  2623. return cannotCreateOrbidDb( CompletionStatus.COMPLETED_NO, null ) ;
  2624. }
  2625. public static final int CANNOT_READ_ORBID_DB = SUNVMCID.value + 202 ;
  2626. public INITIALIZE cannotReadOrbidDb( CompletionStatus cs, Throwable t ) {
  2627. INITIALIZE exc = new INITIALIZE( CANNOT_READ_ORBID_DB, cs ) ;
  2628. if (t != null)
  2629. exc.initCause( t ) ;
  2630. if (logger.isLoggable( Level.WARNING )) {
  2631. Object[] parameters = null ;
  2632. doLog( Level.WARNING, "ORBUTIL.cannotReadOrbidDb",
  2633. parameters, ORBUtilSystemException.class, exc ) ;
  2634. }
  2635. return exc ;
  2636. }
  2637. public INITIALIZE cannotReadOrbidDb( CompletionStatus cs ) {
  2638. return cannotReadOrbidDb( cs, null ) ;
  2639. }
  2640. public INITIALIZE cannotReadOrbidDb( Throwable t ) {
  2641. return cannotReadOrbidDb( CompletionStatus.COMPLETED_NO, t ) ;
  2642. }
  2643. public INITIALIZE cannotReadOrbidDb( ) {
  2644. return cannotReadOrbidDb( CompletionStatus.COMPLETED_NO, null ) ;
  2645. }
  2646. public static final int CANNOT_WRITE_ORBID_DB = SUNVMCID.value + 203 ;
  2647. public INITIALIZE cannotWriteOrbidDb( CompletionStatus cs, Throwable t ) {
  2648. INITIALIZE exc = new INITIALIZE( CANNOT_WRITE_ORBID_DB, cs ) ;
  2649. if (t != null)
  2650. exc.initCause( t ) ;
  2651. if (logger.isLoggable( Level.WARNING )) {
  2652. Object[] parameters = null ;
  2653. doLog( Level.WARNING, "ORBUTIL.cannotWriteOrbidDb",
  2654. parameters, ORBUtilSystemException.class, exc ) ;
  2655. }
  2656. return exc ;
  2657. }
  2658. public INITIALIZE cannotWriteOrbidDb( CompletionStatus cs ) {
  2659. return cannotWriteOrbidDb( cs, null ) ;
  2660. }
  2661. public INITIALIZE cannotWriteOrbidDb( Throwable t ) {
  2662. return cannotWriteOrbidDb( CompletionStatus.COMPLETED_NO, t ) ;
  2663. }
  2664. public INITIALIZE cannotWriteOrbidDb( ) {
  2665. return cannotWriteOrbidDb( CompletionStatus.COMPLETED_NO, null ) ;
  2666. }
  2667. public static final int GET_SERVER_PORT_CALLED_BEFORE_ENDPOINTS_INITIALIZED = SUNVMCID.value + 204 ;
  2668. public INITIALIZE getServerPortCalledBeforeEndpointsInitialized( CompletionStatus cs, Throwable t ) {
  2669. INITIALIZE exc = new INITIALIZE( GET_SERVER_PORT_CALLED_BEFORE_ENDPOINTS_INITIALIZED, cs ) ;
  2670. if (t != null)
  2671. exc.initCause( t ) ;
  2672. if (logger.isLoggable( Level.WARNING )) {
  2673. Object[] parameters = null ;
  2674. doLog( Level.WARNING, "ORBUTIL.getServerPortCalledBeforeEndpointsInitialized",
  2675. parameters, ORBUtilSystemException.class, exc ) ;
  2676. }
  2677. return exc ;
  2678. }
  2679. public INITIALIZE getServerPortCalledBeforeEndpointsInitialized( CompletionStatus cs ) {
  2680. return getServerPortCalledBeforeEndpointsInitialized( cs, null ) ;
  2681. }
  2682. public INITIALIZE getServerPortCalledBeforeEndpointsInitialized( Throwable t ) {
  2683. return getServerPortCalledBeforeEndpointsInitialized( CompletionStatus.COMPLETED_NO, t ) ;
  2684. }
  2685. public INITIALIZE getServerPortCalledBeforeEndpointsInitialized( ) {
  2686. return getServerPortCalledBeforeEndpointsInitialized( CompletionStatus.COMPLETED_NO, null ) ;
  2687. }
  2688. public static final int PERSISTENT_SERVERPORT_NOT_SET = SUNVMCID.value + 205 ;
  2689. public INITIALIZE persistentServerportNotSet( CompletionStatus cs, Throwable t ) {
  2690. INITIALIZE exc = new INITIALIZE( PERSISTENT_SERVERPORT_NOT_SET, cs ) ;
  2691. if (t != null)
  2692. exc.initCause( t ) ;
  2693. if (logger.isLoggable( Level.WARNING )) {
  2694. Object[] parameters = null ;
  2695. doLog( Level.WARNING, "ORBUTIL.persistentServerportNotSet",
  2696. parameters, ORBUtilSystemException.class, exc ) ;
  2697. }
  2698. return exc ;
  2699. }
  2700. public INITIALIZE persistentServerportNotSet( CompletionStatus cs ) {
  2701. return persistentServerportNotSet( cs, null ) ;
  2702. }
  2703. public INITIALIZE persistentServerportNotSet( Throwable t ) {
  2704. return persistentServerportNotSet( CompletionStatus.COMPLETED_NO, t ) ;
  2705. }
  2706. public INITIALIZE persistentServerportNotSet( ) {
  2707. return persistentServerportNotSet( CompletionStatus.COMPLETED_NO, null ) ;
  2708. }
  2709. public static final int PERSISTENT_SERVERID_NOT_SET = SUNVMCID.value + 206 ;
  2710. public INITIALIZE persistentServeridNotSet( CompletionStatus cs, Throwable t ) {
  2711. INITIALIZE exc = new INITIALIZE( PERSISTENT_SERVERID_NOT_SET, cs ) ;
  2712. if (t != null)
  2713. exc.initCause( t ) ;
  2714. if (logger.isLoggable( Level.WARNING )) {
  2715. Object[] parameters = null ;
  2716. doLog( Level.WARNING, "ORBUTIL.persistentServeridNotSet",
  2717. parameters, ORBUtilSystemException.class, exc ) ;
  2718. }
  2719. return exc ;
  2720. }
  2721. public INITIALIZE persistentServeridNotSet( CompletionStatus cs ) {
  2722. return persistentServeridNotSet( cs, null ) ;
  2723. }
  2724. public INITIALIZE persistentServeridNotSet( Throwable t ) {
  2725. return persistentServeridNotSet( CompletionStatus.COMPLETED_NO, t ) ;
  2726. }
  2727. public INITIALIZE persistentServeridNotSet( ) {
  2728. return persistentServeridNotSet( CompletionStatus.COMPLETED_NO, null ) ;
  2729. }
  2730. ///////////////////////////////////////////////////////////
  2731. // INTERNAL
  2732. ///////////////////////////////////////////////////////////
  2733. public static final int NON_EXISTENT_ORBID = SUNVMCID.value + 201 ;
  2734. public INTERNAL nonExistentOrbid( CompletionStatus cs, Throwable t ) {
  2735. INTERNAL exc = new INTERNAL( NON_EXISTENT_ORBID, cs ) ;
  2736. if (t != null)
  2737. exc.initCause( t ) ;
  2738. if (logger.isLoggable( Level.WARNING )) {
  2739. Object[] parameters = null ;
  2740. doLog( Level.WARNING, "ORBUTIL.nonExistentOrbid",
  2741. parameters, ORBUtilSystemException.class, exc ) ;
  2742. }
  2743. return exc ;
  2744. }
  2745. public INTERNAL nonExistentOrbid( CompletionStatus cs ) {
  2746. return nonExistentOrbid( cs, null ) ;
  2747. }
  2748. public INTERNAL nonExistentOrbid( Throwable t ) {
  2749. return nonExistentOrbid( CompletionStatus.COMPLETED_NO, t ) ;
  2750. }
  2751. public INTERNAL nonExistentOrbid( ) {
  2752. return nonExistentOrbid( CompletionStatus.COMPLETED_NO, null ) ;
  2753. }
  2754. public static final int NO_SERVER_SUBCONTRACT = SUNVMCID.value + 202 ;
  2755. public INTERNAL noServerSubcontract( CompletionStatus cs, Throwable t ) {
  2756. INTERNAL exc = new INTERNAL( NO_SERVER_SUBCONTRACT, cs ) ;
  2757. if (t != null)
  2758. exc.initCause( t ) ;
  2759. if (logger.isLoggable( Level.WARNING )) {
  2760. Object[] parameters = null ;
  2761. doLog( Level.WARNING, "ORBUTIL.noServerSubcontract",
  2762. parameters, ORBUtilSystemException.class, exc ) ;
  2763. }
  2764. return exc ;
  2765. }
  2766. public INTERNAL noServerSubcontract( CompletionStatus cs ) {
  2767. return noServerSubcontract( cs, null ) ;
  2768. }
  2769. public INTERNAL noServerSubcontract( Throwable t ) {
  2770. return noServerSubcontract( CompletionStatus.COMPLETED_NO, t ) ;
  2771. }
  2772. public INTERNAL noServerSubcontract( ) {
  2773. return noServerSubcontract( CompletionStatus.COMPLETED_NO, null ) ;
  2774. }
  2775. public static final int SERVER_SC_TEMP_SIZE = SUNVMCID.value + 203 ;
  2776. public INTERNAL serverScTempSize( CompletionStatus cs, Throwable t ) {
  2777. INTERNAL exc = new INTERNAL( SERVER_SC_TEMP_SIZE, cs ) ;
  2778. if (t != null)
  2779. exc.initCause( t ) ;
  2780. if (logger.isLoggable( Level.WARNING )) {
  2781. Object[] parameters = null ;
  2782. doLog( Level.WARNING, "ORBUTIL.serverScTempSize",
  2783. parameters, ORBUtilSystemException.class, exc ) ;
  2784. }
  2785. return exc ;
  2786. }
  2787. public INTERNAL serverScTempSize( CompletionStatus cs ) {
  2788. return serverScTempSize( cs, null ) ;
  2789. }
  2790. public INTERNAL serverScTempSize( Throwable t ) {
  2791. return serverScTempSize( CompletionStatus.COMPLETED_NO, t ) ;
  2792. }
  2793. public INTERNAL serverScTempSize( ) {
  2794. return serverScTempSize( CompletionStatus.COMPLETED_NO, null ) ;
  2795. }
  2796. public static final int NO_CLIENT_SC_CLASS = SUNVMCID.value + 204 ;
  2797. public INTERNAL noClientScClass( CompletionStatus cs, Throwable t ) {
  2798. INTERNAL exc = new INTERNAL( NO_CLIENT_SC_CLASS, cs ) ;
  2799. if (t != null)
  2800. exc.initCause( t ) ;
  2801. if (logger.isLoggable( Level.WARNING )) {
  2802. Object[] parameters = null ;
  2803. doLog( Level.WARNING, "ORBUTIL.noClientScClass",
  2804. parameters, ORBUtilSystemException.class, exc ) ;
  2805. }
  2806. return exc ;
  2807. }
  2808. public INTERNAL noClientScClass( CompletionStatus cs ) {
  2809. return noClientScClass( cs, null ) ;
  2810. }
  2811. public INTERNAL noClientScClass( Throwable t ) {
  2812. return noClientScClass( CompletionStatus.COMPLETED_NO, t ) ;
  2813. }
  2814. public INTERNAL noClientScClass( ) {
  2815. return noClientScClass( CompletionStatus.COMPLETED_NO, null ) ;
  2816. }
  2817. public static final int SERVER_SC_NO_IIOP_PROFILE = SUNVMCID.value + 205 ;
  2818. public INTERNAL serverScNoIiopProfile( CompletionStatus cs, Throwable t ) {
  2819. INTERNAL exc = new INTERNAL( SERVER_SC_NO_IIOP_PROFILE, cs ) ;
  2820. if (t != null)
  2821. exc.initCause( t ) ;
  2822. if (logger.isLoggable( Level.WARNING )) {
  2823. Object[] parameters = null ;
  2824. doLog( Level.WARNING, "ORBUTIL.serverScNoIiopProfile",
  2825. parameters, ORBUtilSystemException.class, exc ) ;
  2826. }
  2827. return exc ;
  2828. }
  2829. public INTERNAL serverScNoIiopProfile( CompletionStatus cs ) {
  2830. return serverScNoIiopProfile( cs, null ) ;
  2831. }
  2832. public INTERNAL serverScNoIiopProfile( Throwable t ) {
  2833. return serverScNoIiopProfile( CompletionStatus.COMPLETED_NO, t ) ;
  2834. }
  2835. public INTERNAL serverScNoIiopProfile( ) {
  2836. return serverScNoIiopProfile( CompletionStatus.COMPLETED_NO, null ) ;
  2837. }
  2838. public static final int GET_SYSTEM_EX_RETURNED_NULL = SUNVMCID.value + 206 ;
  2839. public INTERNAL getSystemExReturnedNull( CompletionStatus cs, Throwable t ) {
  2840. INTERNAL exc = new INTERNAL( GET_SYSTEM_EX_RETURNED_NULL, cs ) ;
  2841. if (t != null)
  2842. exc.initCause( t ) ;
  2843. if (logger.isLoggable( Level.WARNING )) {
  2844. Object[] parameters = null ;
  2845. doLog( Level.WARNING, "ORBUTIL.getSystemExReturnedNull",
  2846. parameters, ORBUtilSystemException.class, exc ) ;
  2847. }
  2848. return exc ;
  2849. }
  2850. public INTERNAL getSystemExReturnedNull( CompletionStatus cs ) {
  2851. return getSystemExReturnedNull( cs, null ) ;
  2852. }
  2853. public INTERNAL getSystemExReturnedNull( Throwable t ) {
  2854. return getSystemExReturnedNull( CompletionStatus.COMPLETED_NO, t ) ;
  2855. }
  2856. public INTERNAL getSystemExReturnedNull( ) {
  2857. return getSystemExReturnedNull( CompletionStatus.COMPLETED_NO, null ) ;
  2858. }
  2859. public static final int PEEKSTRING_FAILED = SUNVMCID.value + 207 ;
  2860. public INTERNAL peekstringFailed( CompletionStatus cs, Throwable t ) {
  2861. INTERNAL exc = new INTERNAL( PEEKSTRING_FAILED, cs ) ;
  2862. if (t != null)
  2863. exc.initCause( t ) ;
  2864. if (logger.isLoggable( Level.WARNING )) {
  2865. Object[] parameters = null ;
  2866. doLog( Level.WARNING, "ORBUTIL.peekstringFailed",
  2867. parameters, ORBUtilSystemException.class, exc ) ;
  2868. }
  2869. return exc ;
  2870. }
  2871. public INTERNAL peekstringFailed( CompletionStatus cs ) {
  2872. return peekstringFailed( cs, null ) ;
  2873. }
  2874. public INTERNAL peekstringFailed( Throwable t ) {
  2875. return peekstringFailed( CompletionStatus.COMPLETED_NO, t ) ;
  2876. }
  2877. public INTERNAL peekstringFailed( ) {
  2878. return peekstringFailed( CompletionStatus.COMPLETED_NO, null ) ;
  2879. }
  2880. public static final int GET_LOCAL_HOST_FAILED = SUNVMCID.value + 208 ;
  2881. public INTERNAL getLocalHostFailed( CompletionStatus cs, Throwable t ) {
  2882. INTERNAL exc = new INTERNAL( GET_LOCAL_HOST_FAILED, cs ) ;
  2883. if (t != null)
  2884. exc.initCause( t ) ;
  2885. if (logger.isLoggable( Level.WARNING )) {
  2886. Object[] parameters = null ;
  2887. doLog( Level.WARNING, "ORBUTIL.getLocalHostFailed",
  2888. parameters, ORBUtilSystemException.class, exc ) ;
  2889. }
  2890. return exc ;
  2891. }
  2892. public INTERNAL getLocalHostFailed( CompletionStatus cs ) {
  2893. return getLocalHostFailed( cs, null ) ;
  2894. }
  2895. public INTERNAL getLocalHostFailed( Throwable t ) {
  2896. return getLocalHostFailed( CompletionStatus.COMPLETED_NO, t ) ;
  2897. }
  2898. public INTERNAL getLocalHostFailed( ) {
  2899. return getLocalHostFailed( CompletionStatus.COMPLETED_NO, null ) ;
  2900. }
  2901. public static final int BAD_LOCATE_REQUEST_STATUS = SUNVMCID.value + 210 ;
  2902. public INTERNAL badLocateRequestStatus( CompletionStatus cs, Throwable t ) {
  2903. INTERNAL exc = new INTERNAL( BAD_LOCATE_REQUEST_STATUS, cs ) ;
  2904. if (t != null)
  2905. exc.initCause( t ) ;
  2906. if (logger.isLoggable( Level.WARNING )) {
  2907. Object[] parameters = null ;
  2908. doLog( Level.WARNING, "ORBUTIL.badLocateRequestStatus",
  2909. parameters, ORBUtilSystemException.class, exc ) ;
  2910. }
  2911. return exc ;
  2912. }
  2913. public INTERNAL badLocateRequestStatus( CompletionStatus cs ) {
  2914. return badLocateRequestStatus( cs, null ) ;
  2915. }
  2916. public INTERNAL badLocateRequestStatus( Throwable t ) {
  2917. return badLocateRequestStatus( CompletionStatus.COMPLETED_NO, t ) ;
  2918. }
  2919. public INTERNAL badLocateRequestStatus( ) {
  2920. return badLocateRequestStatus( CompletionStatus.COMPLETED_NO, null ) ;
  2921. }
  2922. public static final int STRINGIFY_WRITE_ERROR = SUNVMCID.value + 211 ;
  2923. public INTERNAL stringifyWriteError( CompletionStatus cs, Throwable t ) {
  2924. INTERNAL exc = new INTERNAL( STRINGIFY_WRITE_ERROR, cs ) ;
  2925. if (t != null)
  2926. exc.initCause( t ) ;
  2927. if (logger.isLoggable( Level.WARNING )) {
  2928. Object[] parameters = null ;
  2929. doLog( Level.WARNING, "ORBUTIL.stringifyWriteError",
  2930. parameters, ORBUtilSystemException.class, exc ) ;
  2931. }
  2932. return exc ;
  2933. }
  2934. public INTERNAL stringifyWriteError( CompletionStatus cs ) {
  2935. return stringifyWriteError( cs, null ) ;
  2936. }
  2937. public INTERNAL stringifyWriteError( Throwable t ) {
  2938. return stringifyWriteError( CompletionStatus.COMPLETED_NO, t ) ;
  2939. }
  2940. public INTERNAL stringifyWriteError( ) {
  2941. return stringifyWriteError( CompletionStatus.COMPLETED_NO, null ) ;
  2942. }
  2943. public static final int BAD_GIOP_REQUEST_TYPE = SUNVMCID.value + 212 ;
  2944. public INTERNAL badGiopRequestType( CompletionStatus cs, Throwable t ) {
  2945. INTERNAL exc = new INTERNAL( BAD_GIOP_REQUEST_TYPE, cs ) ;
  2946. if (t != null)
  2947. exc.initCause( t ) ;
  2948. if (logger.isLoggable( Level.WARNING )) {
  2949. Object[] parameters = null ;
  2950. doLog( Level.WARNING, "ORBUTIL.badGiopRequestType",
  2951. parameters, ORBUtilSystemException.class, exc ) ;
  2952. }
  2953. return exc ;
  2954. }
  2955. public INTERNAL badGiopRequestType( CompletionStatus cs ) {
  2956. return badGiopRequestType( cs, null ) ;
  2957. }
  2958. public INTERNAL badGiopRequestType( Throwable t ) {
  2959. return badGiopRequestType( CompletionStatus.COMPLETED_NO, t ) ;
  2960. }
  2961. public INTERNAL badGiopRequestType( ) {
  2962. return badGiopRequestType( CompletionStatus.COMPLETED_NO, null ) ;
  2963. }
  2964. public static final int ERROR_UNMARSHALING_USEREXC = SUNVMCID.value + 213 ;
  2965. public INTERNAL errorUnmarshalingUserexc( CompletionStatus cs, Throwable t ) {
  2966. INTERNAL exc = new INTERNAL( ERROR_UNMARSHALING_USEREXC, cs ) ;
  2967. if (t != null)
  2968. exc.initCause( t ) ;
  2969. if (logger.isLoggable( Level.WARNING )) {
  2970. Object[] parameters = null ;
  2971. doLog( Level.WARNING, "ORBUTIL.errorUnmarshalingUserexc",
  2972. parameters, ORBUtilSystemException.class, exc ) ;
  2973. }
  2974. return exc ;
  2975. }
  2976. public INTERNAL errorUnmarshalingUserexc( CompletionStatus cs ) {
  2977. return errorUnmarshalingUserexc( cs, null ) ;
  2978. }
  2979. public INTERNAL errorUnmarshalingUserexc( Throwable t ) {
  2980. return errorUnmarshalingUserexc( CompletionStatus.COMPLETED_NO, t ) ;
  2981. }
  2982. public INTERNAL errorUnmarshalingUserexc( ) {
  2983. return errorUnmarshalingUserexc( CompletionStatus.COMPLETED_NO, null ) ;
  2984. }
  2985. public static final int RequestDispatcherRegistry_ERROR = SUNVMCID.value + 214 ;
  2986. public INTERNAL requestdispatcherregistryError( CompletionStatus cs, Throwable t ) {
  2987. INTERNAL exc = new INTERNAL( RequestDispatcherRegistry_ERROR, cs ) ;
  2988. if (t != null)
  2989. exc.initCause( t ) ;
  2990. if (logger.isLoggable( Level.WARNING )) {
  2991. Object[] parameters = null ;
  2992. doLog( Level.WARNING, "ORBUTIL.requestdispatcherregistryError",
  2993. parameters, ORBUtilSystemException.class, exc ) ;
  2994. }
  2995. return exc ;
  2996. }
  2997. public INTERNAL requestdispatcherregistryError( CompletionStatus cs ) {
  2998. return requestdispatcherregistryError( cs, null ) ;
  2999. }
  3000. public INTERNAL requestdispatcherregistryError( Throwable t ) {
  3001. return requestdispatcherregistryError( CompletionStatus.COMPLETED_NO, t ) ;
  3002. }
  3003. public INTERNAL requestdispatcherregistryError( ) {
  3004. return requestdispatcherregistryError( CompletionStatus.COMPLETED_NO, null ) ;
  3005. }
  3006. public static final int LOCATIONFORWARD_ERROR = SUNVMCID.value + 215 ;
  3007. public INTERNAL locationforwardError( CompletionStatus cs, Throwable t ) {
  3008. INTERNAL exc = new INTERNAL( LOCATIONFORWARD_ERROR, cs ) ;
  3009. if (t != null)
  3010. exc.initCause( t ) ;
  3011. if (logger.isLoggable( Level.WARNING )) {
  3012. Object[] parameters = null ;
  3013. doLog( Level.WARNING, "ORBUTIL.locationforwardError",
  3014. parameters, ORBUtilSystemException.class, exc ) ;
  3015. }
  3016. return exc ;
  3017. }
  3018. public INTERNAL locationforwardError( CompletionStatus cs ) {
  3019. return locationforwardError( cs, null ) ;
  3020. }
  3021. public INTERNAL locationforwardError( Throwable t ) {
  3022. return locationforwardError( CompletionStatus.COMPLETED_NO, t ) ;
  3023. }
  3024. public INTERNAL locationforwardError( ) {
  3025. return locationforwardError( CompletionStatus.COMPLETED_NO, null ) ;
  3026. }
  3027. public static final int WRONG_CLIENTSC = SUNVMCID.value + 216 ;
  3028. public INTERNAL wrongClientsc( CompletionStatus cs, Throwable t ) {
  3029. INTERNAL exc = new INTERNAL( WRONG_CLIENTSC, cs ) ;
  3030. if (t != null)
  3031. exc.initCause( t ) ;
  3032. if (logger.isLoggable( Level.WARNING )) {
  3033. Object[] parameters = null ;
  3034. doLog( Level.WARNING, "ORBUTIL.wrongClientsc",
  3035. parameters, ORBUtilSystemException.class, exc ) ;
  3036. }
  3037. return exc ;
  3038. }
  3039. public INTERNAL wrongClientsc( CompletionStatus cs ) {
  3040. return wrongClientsc( cs, null ) ;
  3041. }
  3042. public INTERNAL wrongClientsc( Throwable t ) {
  3043. return wrongClientsc( CompletionStatus.COMPLETED_NO, t ) ;
  3044. }
  3045. public INTERNAL wrongClientsc( ) {
  3046. return wrongClientsc( CompletionStatus.COMPLETED_NO, null ) ;
  3047. }
  3048. public static final int BAD_SERVANT_READ_OBJECT = SUNVMCID.value + 217 ;
  3049. public INTERNAL badServantReadObject( CompletionStatus cs, Throwable t ) {
  3050. INTERNAL exc = new INTERNAL( BAD_SERVANT_READ_OBJECT, cs ) ;
  3051. if (t != null)
  3052. exc.initCause( t ) ;
  3053. if (logger.isLoggable( Level.WARNING )) {
  3054. Object[] parameters = null ;
  3055. doLog( Level.WARNING, "ORBUTIL.badServantReadObject",
  3056. parameters, ORBUtilSystemException.class, exc ) ;
  3057. }
  3058. return exc ;
  3059. }
  3060. public INTERNAL badServantReadObject( CompletionStatus cs ) {
  3061. return badServantReadObject( cs, null ) ;
  3062. }
  3063. public INTERNAL badServantReadObject( Throwable t ) {
  3064. return badServantReadObject( CompletionStatus.COMPLETED_NO, t ) ;
  3065. }
  3066. public INTERNAL badServantReadObject( ) {
  3067. return badServantReadObject( CompletionStatus.COMPLETED_NO, null ) ;
  3068. }
  3069. public static final int MULT_IIOP_PROF_NOT_SUPPORTED = SUNVMCID.value + 218 ;
  3070. public INTERNAL multIiopProfNotSupported( CompletionStatus cs, Throwable t ) {
  3071. INTERNAL exc = new INTERNAL( MULT_IIOP_PROF_NOT_SUPPORTED, cs ) ;
  3072. if (t != null)
  3073. exc.initCause( t ) ;
  3074. if (logger.isLoggable( Level.WARNING )) {
  3075. Object[] parameters = null ;
  3076. doLog( Level.WARNING, "ORBUTIL.multIiopProfNotSupported",
  3077. parameters, ORBUtilSystemException.class, exc ) ;
  3078. }
  3079. return exc ;
  3080. }
  3081. public INTERNAL multIiopProfNotSupported( CompletionStatus cs ) {
  3082. return multIiopProfNotSupported( cs, null ) ;
  3083. }
  3084. public INTERNAL multIiopProfNotSupported( Throwable t ) {
  3085. return multIiopProfNotSupported( CompletionStatus.COMPLETED_NO, t ) ;
  3086. }
  3087. public INTERNAL multIiopProfNotSupported( ) {
  3088. return multIiopProfNotSupported( CompletionStatus.COMPLETED_NO, null ) ;
  3089. }
  3090. public static final int GIOP_MAGIC_ERROR = SUNVMCID.value + 220 ;
  3091. public INTERNAL giopMagicError( CompletionStatus cs, Throwable t ) {
  3092. INTERNAL exc = new INTERNAL( GIOP_MAGIC_ERROR, cs ) ;
  3093. if (t != null)
  3094. exc.initCause( t ) ;
  3095. if (logger.isLoggable( Level.WARNING )) {
  3096. Object[] parameters = null ;
  3097. doLog( Level.WARNING, "ORBUTIL.giopMagicError",
  3098. parameters, ORBUtilSystemException.class, exc ) ;
  3099. }
  3100. return exc ;
  3101. }
  3102. public INTERNAL giopMagicError( CompletionStatus cs ) {
  3103. return giopMagicError( cs, null ) ;
  3104. }
  3105. public INTERNAL giopMagicError( Throwable t ) {
  3106. return giopMagicError( CompletionStatus.COMPLETED_NO, t ) ;
  3107. }
  3108. public INTERNAL giopMagicError( ) {
  3109. return giopMagicError( CompletionStatus.COMPLETED_NO, null ) ;
  3110. }
  3111. public static final int GIOP_VERSION_ERROR = SUNVMCID.value + 221 ;
  3112. public INTERNAL giopVersionError( CompletionStatus cs, Throwable t ) {
  3113. INTERNAL exc = new INTERNAL( GIOP_VERSION_ERROR, cs ) ;
  3114. if (t != null)
  3115. exc.initCause( t ) ;
  3116. if (logger.isLoggable( Level.WARNING )) {
  3117. Object[] parameters = null ;
  3118. doLog( Level.WARNING, "ORBUTIL.giopVersionError",
  3119. parameters, ORBUtilSystemException.class, exc ) ;
  3120. }
  3121. return exc ;
  3122. }
  3123. public INTERNAL giopVersionError( CompletionStatus cs ) {
  3124. return giopVersionError( cs, null ) ;
  3125. }
  3126. public INTERNAL giopVersionError( Throwable t ) {
  3127. return giopVersionError( CompletionStatus.COMPLETED_NO, t ) ;
  3128. }
  3129. public INTERNAL giopVersionError( ) {
  3130. return giopVersionError( CompletionStatus.COMPLETED_NO, null ) ;
  3131. }
  3132. public static final int ILLEGAL_REPLY_STATUS = SUNVMCID.value + 222 ;
  3133. public INTERNAL illegalReplyStatus( CompletionStatus cs, Throwable t ) {
  3134. INTERNAL exc = new INTERNAL( ILLEGAL_REPLY_STATUS, cs ) ;
  3135. if (t != null)
  3136. exc.initCause( t ) ;
  3137. if (logger.isLoggable( Level.WARNING )) {
  3138. Object[] parameters = null ;
  3139. doLog( Level.WARNING, "ORBUTIL.illegalReplyStatus",
  3140. parameters, ORBUtilSystemException.class, exc ) ;
  3141. }
  3142. return exc ;
  3143. }
  3144. public INTERNAL illegalReplyStatus( CompletionStatus cs ) {
  3145. return illegalReplyStatus( cs, null ) ;
  3146. }
  3147. public INTERNAL illegalReplyStatus( Throwable t ) {
  3148. return illegalReplyStatus( CompletionStatus.COMPLETED_NO, t ) ;
  3149. }
  3150. public INTERNAL illegalReplyStatus( ) {
  3151. return illegalReplyStatus( CompletionStatus.COMPLETED_NO, null ) ;
  3152. }
  3153. public static final int ILLEGAL_GIOP_MSG_TYPE = SUNVMCID.value + 223 ;
  3154. public INTERNAL illegalGiopMsgType( CompletionStatus cs, Throwable t ) {
  3155. INTERNAL exc = new INTERNAL( ILLEGAL_GIOP_MSG_TYPE, cs ) ;
  3156. if (t != null)
  3157. exc.initCause( t ) ;
  3158. if (logger.isLoggable( Level.WARNING )) {
  3159. Object[] parameters = null ;
  3160. doLog( Level.WARNING, "ORBUTIL.illegalGiopMsgType",
  3161. parameters, ORBUtilSystemException.class, exc ) ;
  3162. }
  3163. return exc ;
  3164. }
  3165. public INTERNAL illegalGiopMsgType( CompletionStatus cs ) {
  3166. return illegalGiopMsgType( cs, null ) ;
  3167. }
  3168. public INTERNAL illegalGiopMsgType( Throwable t ) {
  3169. return illegalGiopMsgType( CompletionStatus.COMPLETED_NO, t ) ;
  3170. }
  3171. public INTERNAL illegalGiopMsgType( ) {
  3172. return illegalGiopMsgType( CompletionStatus.COMPLETED_NO, null ) ;
  3173. }
  3174. public static final int FRAGMENTATION_DISALLOWED = SUNVMCID.value + 224 ;
  3175. public INTERNAL fragmentationDisallowed( CompletionStatus cs, Throwable t ) {
  3176. INTERNAL exc = new INTERNAL( FRAGMENTATION_DISALLOWED, cs ) ;
  3177. if (t != null)
  3178. exc.initCause( t ) ;
  3179. if (logger.isLoggable( Level.WARNING )) {
  3180. Object[] parameters = null ;
  3181. doLog( Level.WARNING, "ORBUTIL.fragmentationDisallowed",
  3182. parameters, ORBUtilSystemException.class, exc ) ;
  3183. }
  3184. return exc ;
  3185. }
  3186. public INTERNAL fragmentationDisallowed( CompletionStatus cs ) {
  3187. return fragmentationDisallowed( cs, null ) ;
  3188. }
  3189. public INTERNAL fragmentationDisallowed( Throwable t ) {
  3190. return fragmentationDisallowed( CompletionStatus.COMPLETED_NO, t ) ;
  3191. }
  3192. public INTERNAL fragmentationDisallowed( ) {
  3193. return fragmentationDisallowed( CompletionStatus.COMPLETED_NO, null ) ;
  3194. }
  3195. public static final int BAD_REPLYSTATUS = SUNVMCID.value + 225 ;
  3196. public INTERNAL badReplystatus( CompletionStatus cs, Throwable t ) {
  3197. INTERNAL exc = new INTERNAL( BAD_REPLYSTATUS, cs ) ;
  3198. if (t != null)
  3199. exc.initCause( t ) ;
  3200. if (logger.isLoggable( Level.WARNING )) {
  3201. Object[] parameters = null ;
  3202. doLog( Level.WARNING, "ORBUTIL.badReplystatus",
  3203. parameters, ORBUtilSystemException.class, exc ) ;
  3204. }
  3205. return exc ;
  3206. }
  3207. public INTERNAL badReplystatus( CompletionStatus cs ) {
  3208. return badReplystatus( cs, null ) ;
  3209. }
  3210. public INTERNAL badReplystatus( Throwable t ) {
  3211. return badReplystatus( CompletionStatus.COMPLETED_NO, t ) ;
  3212. }
  3213. public INTERNAL badReplystatus( ) {
  3214. return badReplystatus( CompletionStatus.COMPLETED_NO, null ) ;
  3215. }
  3216. public static final int CTB_CONVERTER_FAILURE = SUNVMCID.value + 226 ;
  3217. public INTERNAL ctbConverterFailure( CompletionStatus cs, Throwable t ) {
  3218. INTERNAL exc = new INTERNAL( CTB_CONVERTER_FAILURE, cs ) ;
  3219. if (t != null)
  3220. exc.initCause( t ) ;
  3221. if (logger.isLoggable( Level.WARNING )) {
  3222. Object[] parameters = null ;
  3223. doLog( Level.WARNING, "ORBUTIL.ctbConverterFailure",
  3224. parameters, ORBUtilSystemException.class, exc ) ;
  3225. }
  3226. return exc ;
  3227. }
  3228. public INTERNAL ctbConverterFailure( CompletionStatus cs ) {
  3229. return ctbConverterFailure( cs, null ) ;
  3230. }
  3231. public INTERNAL ctbConverterFailure( Throwable t ) {
  3232. return ctbConverterFailure( CompletionStatus.COMPLETED_NO, t ) ;
  3233. }
  3234. public INTERNAL ctbConverterFailure( ) {
  3235. return ctbConverterFailure( CompletionStatus.COMPLETED_NO, null ) ;
  3236. }
  3237. public static final int BTC_CONVERTER_FAILURE = SUNVMCID.value + 227 ;
  3238. public INTERNAL btcConverterFailure( CompletionStatus cs, Throwable t ) {
  3239. INTERNAL exc = new INTERNAL( BTC_CONVERTER_FAILURE, cs ) ;
  3240. if (t != null)
  3241. exc.initCause( t ) ;
  3242. if (logger.isLoggable( Level.WARNING )) {
  3243. Object[] parameters = null ;
  3244. doLog( Level.WARNING, "ORBUTIL.btcConverterFailure",
  3245. parameters, ORBUtilSystemException.class, exc ) ;
  3246. }
  3247. return exc ;
  3248. }
  3249. public INTERNAL btcConverterFailure( CompletionStatus cs ) {
  3250. return btcConverterFailure( cs, null ) ;
  3251. }
  3252. public INTERNAL btcConverterFailure( Throwable t ) {
  3253. return btcConverterFailure( CompletionStatus.COMPLETED_NO, t ) ;
  3254. }
  3255. public INTERNAL btcConverterFailure( ) {
  3256. return btcConverterFailure( CompletionStatus.COMPLETED_NO, null ) ;
  3257. }
  3258. public static final int WCHAR_ARRAY_UNSUPPORTED_ENCODING = SUNVMCID.value + 228 ;
  3259. public INTERNAL wcharArrayUnsupportedEncoding( CompletionStatus cs, Throwable t ) {
  3260. INTERNAL exc = new INTERNAL( WCHAR_ARRAY_UNSUPPORTED_ENCODING, cs ) ;
  3261. if (t != null)
  3262. exc.initCause( t ) ;
  3263. if (logger.isLoggable( Level.WARNING )) {
  3264. Object[] parameters = null ;
  3265. doLog( Level.WARNING, "ORBUTIL.wcharArrayUnsupportedEncoding",
  3266. parameters, ORBUtilSystemException.class, exc ) ;
  3267. }
  3268. return exc ;
  3269. }
  3270. public INTERNAL wcharArrayUnsupportedEncoding( CompletionStatus cs ) {
  3271. return wcharArrayUnsupportedEncoding( cs, null ) ;
  3272. }
  3273. public INTERNAL wcharArrayUnsupportedEncoding( Throwable t ) {
  3274. return wcharArrayUnsupportedEncoding( CompletionStatus.COMPLETED_NO, t ) ;
  3275. }
  3276. public INTERNAL wcharArrayUnsupportedEncoding( ) {
  3277. return wcharArrayUnsupportedEncoding( CompletionStatus.COMPLETED_NO, null ) ;
  3278. }
  3279. public static final int ILLEGAL_TARGET_ADDRESS_DISPOSITION = SUNVMCID.value + 229 ;
  3280. public INTERNAL illegalTargetAddressDisposition( CompletionStatus cs, Throwable t ) {
  3281. INTERNAL exc = new INTERNAL( ILLEGAL_TARGET_ADDRESS_DISPOSITION, cs ) ;
  3282. if (t != null)
  3283. exc.initCause( t ) ;
  3284. if (logger.isLoggable( Level.WARNING )) {
  3285. Object[] parameters = null ;
  3286. doLog( Level.WARNING, "ORBUTIL.illegalTargetAddressDisposition",
  3287. parameters, ORBUtilSystemException.class, exc ) ;
  3288. }
  3289. return exc ;
  3290. }
  3291. public INTERNAL illegalTargetAddressDisposition( CompletionStatus cs ) {
  3292. return illegalTargetAddressDisposition( cs, null ) ;
  3293. }
  3294. public INTERNAL illegalTargetAddressDisposition( Throwable t ) {
  3295. return illegalTargetAddressDisposition( CompletionStatus.COMPLETED_NO, t ) ;
  3296. }
  3297. public INTERNAL illegalTargetAddressDisposition( ) {
  3298. return illegalTargetAddressDisposition( CompletionStatus.COMPLETED_NO, null ) ;
  3299. }
  3300. public static final int NULL_REPLY_IN_GET_ADDR_DISPOSITION = SUNVMCID.value + 230 ;
  3301. public INTERNAL nullReplyInGetAddrDisposition( CompletionStatus cs, Throwable t ) {
  3302. INTERNAL exc = new INTERNAL( NULL_REPLY_IN_GET_ADDR_DISPOSITION, cs ) ;
  3303. if (t != null)
  3304. exc.initCause( t ) ;
  3305. if (logger.isLoggable( Level.WARNING )) {
  3306. Object[] parameters = null ;
  3307. doLog( Level.WARNING, "ORBUTIL.nullReplyInGetAddrDisposition",
  3308. parameters, ORBUtilSystemException.class, exc ) ;
  3309. }
  3310. return exc ;
  3311. }
  3312. public INTERNAL nullReplyInGetAddrDisposition( CompletionStatus cs ) {
  3313. return nullReplyInGetAddrDisposition( cs, null ) ;
  3314. }
  3315. public INTERNAL nullReplyInGetAddrDisposition( Throwable t ) {
  3316. return nullReplyInGetAddrDisposition( CompletionStatus.COMPLETED_NO, t ) ;
  3317. }
  3318. public INTERNAL nullReplyInGetAddrDisposition( ) {
  3319. return nullReplyInGetAddrDisposition( CompletionStatus.COMPLETED_NO, null ) ;
  3320. }
  3321. public static final int ORB_TARGET_ADDR_PREFERENCE_IN_EXTRACT_OBJECTKEY_INVALID = SUNVMCID.value + 231 ;
  3322. public INTERNAL orbTargetAddrPreferenceInExtractObjectkeyInvalid( CompletionStatus cs, Throwable t ) {
  3323. INTERNAL exc = new INTERNAL( ORB_TARGET_ADDR_PREFERENCE_IN_EXTRACT_OBJECTKEY_INVALID, cs ) ;
  3324. if (t != null)
  3325. exc.initCause( t ) ;
  3326. if (logger.isLoggable( Level.WARNING )) {
  3327. Object[] parameters = null ;
  3328. doLog( Level.WARNING, "ORBUTIL.orbTargetAddrPreferenceInExtractObjectkeyInvalid",
  3329. parameters, ORBUtilSystemException.class, exc ) ;
  3330. }
  3331. return exc ;
  3332. }
  3333. public INTERNAL orbTargetAddrPreferenceInExtractObjectkeyInvalid( CompletionStatus cs ) {
  3334. return orbTargetAddrPreferenceInExtractObjectkeyInvalid( cs, null ) ;
  3335. }
  3336. public INTERNAL orbTargetAddrPreferenceInExtractObjectkeyInvalid( Throwable t ) {
  3337. return orbTargetAddrPreferenceInExtractObjectkeyInvalid( CompletionStatus.COMPLETED_NO, t ) ;
  3338. }
  3339. public INTERNAL orbTargetAddrPreferenceInExtractObjectkeyInvalid( ) {
  3340. return orbTargetAddrPreferenceInExtractObjectkeyInvalid( CompletionStatus.COMPLETED_NO, null ) ;
  3341. }
  3342. public static final int INVALID_ISSTREAMED_TCKIND = SUNVMCID.value + 232 ;
  3343. public INTERNAL invalidIsstreamedTckind( CompletionStatus cs, Throwable t, Object arg0) {
  3344. INTERNAL exc = new INTERNAL( INVALID_ISSTREAMED_TCKIND, cs ) ;
  3345. if (t != null)
  3346. exc.initCause( t ) ;
  3347. if (logger.isLoggable( Level.WARNING )) {
  3348. Object[] parameters = new Object[1] ;
  3349. parameters[0] = arg0 ;
  3350. doLog( Level.WARNING, "ORBUTIL.invalidIsstreamedTckind",
  3351. parameters, ORBUtilSystemException.class, exc ) ;
  3352. }
  3353. return exc ;
  3354. }
  3355. public INTERNAL invalidIsstreamedTckind( CompletionStatus cs, Object arg0) {
  3356. return invalidIsstreamedTckind( cs, null, arg0 ) ;
  3357. }
  3358. public INTERNAL invalidIsstreamedTckind( Throwable t, Object arg0) {
  3359. return invalidIsstreamedTckind( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  3360. }
  3361. public INTERNAL invalidIsstreamedTckind( Object arg0) {
  3362. return invalidIsstreamedTckind( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  3363. }
  3364. public static final int INVALID_JDK1_3_1_PATCH_LEVEL = SUNVMCID.value + 233 ;
  3365. public INTERNAL invalidJdk131PatchLevel( CompletionStatus cs, Throwable t ) {
  3366. INTERNAL exc = new INTERNAL( INVALID_JDK1_3_1_PATCH_LEVEL, cs ) ;
  3367. if (t != null)
  3368. exc.initCause( t ) ;
  3369. if (logger.isLoggable( Level.WARNING )) {
  3370. Object[] parameters = null ;
  3371. doLog( Level.WARNING, "ORBUTIL.invalidJdk131PatchLevel",
  3372. parameters, ORBUtilSystemException.class, exc ) ;
  3373. }
  3374. return exc ;
  3375. }
  3376. public INTERNAL invalidJdk131PatchLevel( CompletionStatus cs ) {
  3377. return invalidJdk131PatchLevel( cs, null ) ;
  3378. }
  3379. public INTERNAL invalidJdk131PatchLevel( Throwable t ) {
  3380. return invalidJdk131PatchLevel( CompletionStatus.COMPLETED_NO, t ) ;
  3381. }
  3382. public INTERNAL invalidJdk131PatchLevel( ) {
  3383. return invalidJdk131PatchLevel( CompletionStatus.COMPLETED_NO, null ) ;
  3384. }
  3385. public static final int SVCCTX_UNMARSHAL_ERROR = SUNVMCID.value + 234 ;
  3386. public INTERNAL svcctxUnmarshalError( CompletionStatus cs, Throwable t ) {
  3387. INTERNAL exc = new INTERNAL( SVCCTX_UNMARSHAL_ERROR, cs ) ;
  3388. if (t != null)
  3389. exc.initCause( t ) ;
  3390. if (logger.isLoggable( Level.WARNING )) {
  3391. Object[] parameters = null ;
  3392. doLog( Level.WARNING, "ORBUTIL.svcctxUnmarshalError",
  3393. parameters, ORBUtilSystemException.class, exc ) ;
  3394. }
  3395. return exc ;
  3396. }
  3397. public INTERNAL svcctxUnmarshalError( CompletionStatus cs ) {
  3398. return svcctxUnmarshalError( cs, null ) ;
  3399. }
  3400. public INTERNAL svcctxUnmarshalError( Throwable t ) {
  3401. return svcctxUnmarshalError( CompletionStatus.COMPLETED_NO, t ) ;
  3402. }
  3403. public INTERNAL svcctxUnmarshalError( ) {
  3404. return svcctxUnmarshalError( CompletionStatus.COMPLETED_NO, null ) ;
  3405. }
  3406. public static final int NULL_IOR = SUNVMCID.value + 235 ;
  3407. public INTERNAL nullIor( CompletionStatus cs, Throwable t ) {
  3408. INTERNAL exc = new INTERNAL( NULL_IOR, cs ) ;
  3409. if (t != null)
  3410. exc.initCause( t ) ;
  3411. if (logger.isLoggable( Level.WARNING )) {
  3412. Object[] parameters = null ;
  3413. doLog( Level.WARNING, "ORBUTIL.nullIor",
  3414. parameters, ORBUtilSystemException.class, exc ) ;
  3415. }
  3416. return exc ;
  3417. }
  3418. public INTERNAL nullIor( CompletionStatus cs ) {
  3419. return nullIor( cs, null ) ;
  3420. }
  3421. public INTERNAL nullIor( Throwable t ) {
  3422. return nullIor( CompletionStatus.COMPLETED_NO, t ) ;
  3423. }
  3424. public INTERNAL nullIor( ) {
  3425. return nullIor( CompletionStatus.COMPLETED_NO, null ) ;
  3426. }
  3427. public static final int UNSUPPORTED_GIOP_VERSION = SUNVMCID.value + 236 ;
  3428. public INTERNAL unsupportedGiopVersion( CompletionStatus cs, Throwable t, Object arg0) {
  3429. INTERNAL exc = new INTERNAL( UNSUPPORTED_GIOP_VERSION, cs ) ;
  3430. if (t != null)
  3431. exc.initCause( t ) ;
  3432. if (logger.isLoggable( Level.WARNING )) {
  3433. Object[] parameters = new Object[1] ;
  3434. parameters[0] = arg0 ;
  3435. doLog( Level.WARNING, "ORBUTIL.unsupportedGiopVersion",
  3436. parameters, ORBUtilSystemException.class, exc ) ;
  3437. }
  3438. return exc ;
  3439. }
  3440. public INTERNAL unsupportedGiopVersion( CompletionStatus cs, Object arg0) {
  3441. return unsupportedGiopVersion( cs, null, arg0 ) ;
  3442. }
  3443. public INTERNAL unsupportedGiopVersion( Throwable t, Object arg0) {
  3444. return unsupportedGiopVersion( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  3445. }
  3446. public INTERNAL unsupportedGiopVersion( Object arg0) {
  3447. return unsupportedGiopVersion( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  3448. }
  3449. public static final int APPLICATION_EXCEPTION_IN_SPECIAL_METHOD = SUNVMCID.value + 237 ;
  3450. public INTERNAL applicationExceptionInSpecialMethod( CompletionStatus cs, Throwable t ) {
  3451. INTERNAL exc = new INTERNAL( APPLICATION_EXCEPTION_IN_SPECIAL_METHOD, cs ) ;
  3452. if (t != null)
  3453. exc.initCause( t ) ;
  3454. if (logger.isLoggable( Level.WARNING )) {
  3455. Object[] parameters = null ;
  3456. doLog( Level.WARNING, "ORBUTIL.applicationExceptionInSpecialMethod",
  3457. parameters, ORBUtilSystemException.class, exc ) ;
  3458. }
  3459. return exc ;
  3460. }
  3461. public INTERNAL applicationExceptionInSpecialMethod( CompletionStatus cs ) {
  3462. return applicationExceptionInSpecialMethod( cs, null ) ;
  3463. }
  3464. public INTERNAL applicationExceptionInSpecialMethod( Throwable t ) {
  3465. return applicationExceptionInSpecialMethod( CompletionStatus.COMPLETED_NO, t ) ;
  3466. }
  3467. public INTERNAL applicationExceptionInSpecialMethod( ) {
  3468. return applicationExceptionInSpecialMethod( CompletionStatus.COMPLETED_NO, null ) ;
  3469. }
  3470. public static final int STATEMENT_NOT_REACHABLE1 = SUNVMCID.value + 238 ;
  3471. public INTERNAL statementNotReachable1( CompletionStatus cs, Throwable t ) {
  3472. INTERNAL exc = new INTERNAL( STATEMENT_NOT_REACHABLE1, cs ) ;
  3473. if (t != null)
  3474. exc.initCause( t ) ;
  3475. if (logger.isLoggable( Level.WARNING )) {
  3476. Object[] parameters = null ;
  3477. doLog( Level.WARNING, "ORBUTIL.statementNotReachable1",
  3478. parameters, ORBUtilSystemException.class, exc ) ;
  3479. }
  3480. return exc ;
  3481. }
  3482. public INTERNAL statementNotReachable1( CompletionStatus cs ) {
  3483. return statementNotReachable1( cs, null ) ;
  3484. }
  3485. public INTERNAL statementNotReachable1( Throwable t ) {
  3486. return statementNotReachable1( CompletionStatus.COMPLETED_NO, t ) ;
  3487. }
  3488. public INTERNAL statementNotReachable1( ) {
  3489. return statementNotReachable1( CompletionStatus.COMPLETED_NO, null ) ;
  3490. }
  3491. public static final int STATEMENT_NOT_REACHABLE2 = SUNVMCID.value + 239 ;
  3492. public INTERNAL statementNotReachable2( CompletionStatus cs, Throwable t ) {
  3493. INTERNAL exc = new INTERNAL( STATEMENT_NOT_REACHABLE2, cs ) ;
  3494. if (t != null)
  3495. exc.initCause( t ) ;
  3496. if (logger.isLoggable( Level.WARNING )) {
  3497. Object[] parameters = null ;
  3498. doLog( Level.WARNING, "ORBUTIL.statementNotReachable2",
  3499. parameters, ORBUtilSystemException.class, exc ) ;
  3500. }
  3501. return exc ;
  3502. }
  3503. public INTERNAL statementNotReachable2( CompletionStatus cs ) {
  3504. return statementNotReachable2( cs, null ) ;
  3505. }
  3506. public INTERNAL statementNotReachable2( Throwable t ) {
  3507. return statementNotReachable2( CompletionStatus.COMPLETED_NO, t ) ;
  3508. }
  3509. public INTERNAL statementNotReachable2( ) {
  3510. return statementNotReachable2( CompletionStatus.COMPLETED_NO, null ) ;
  3511. }
  3512. public static final int STATEMENT_NOT_REACHABLE3 = SUNVMCID.value + 240 ;
  3513. public INTERNAL statementNotReachable3( CompletionStatus cs, Throwable t ) {
  3514. INTERNAL exc = new INTERNAL( STATEMENT_NOT_REACHABLE3, cs ) ;
  3515. if (t != null)
  3516. exc.initCause( t ) ;
  3517. if (logger.isLoggable( Level.WARNING )) {
  3518. Object[] parameters = null ;
  3519. doLog( Level.WARNING, "ORBUTIL.statementNotReachable3",
  3520. parameters, ORBUtilSystemException.class, exc ) ;
  3521. }
  3522. return exc ;
  3523. }
  3524. public INTERNAL statementNotReachable3( CompletionStatus cs ) {
  3525. return statementNotReachable3( cs, null ) ;
  3526. }
  3527. public INTERNAL statementNotReachable3( Throwable t ) {
  3528. return statementNotReachable3( CompletionStatus.COMPLETED_NO, t ) ;
  3529. }
  3530. public INTERNAL statementNotReachable3( ) {
  3531. return statementNotReachable3( CompletionStatus.COMPLETED_NO, null ) ;
  3532. }
  3533. public static final int STATEMENT_NOT_REACHABLE4 = SUNVMCID.value + 241 ;
  3534. public INTERNAL statementNotReachable4( CompletionStatus cs, Throwable t ) {
  3535. INTERNAL exc = new INTERNAL( STATEMENT_NOT_REACHABLE4, cs ) ;
  3536. if (t != null)
  3537. exc.initCause( t ) ;
  3538. if (logger.isLoggable( Level.FINE )) {
  3539. Object[] parameters = null ;
  3540. doLog( Level.FINE, "ORBUTIL.statementNotReachable4",
  3541. parameters, ORBUtilSystemException.class, exc ) ;
  3542. }
  3543. return exc ;
  3544. }
  3545. public INTERNAL statementNotReachable4( CompletionStatus cs ) {
  3546. return statementNotReachable4( cs, null ) ;
  3547. }
  3548. public INTERNAL statementNotReachable4( Throwable t ) {
  3549. return statementNotReachable4( CompletionStatus.COMPLETED_NO, t ) ;
  3550. }
  3551. public INTERNAL statementNotReachable4( ) {
  3552. return statementNotReachable4( CompletionStatus.COMPLETED_NO, null ) ;
  3553. }
  3554. public static final int STATEMENT_NOT_REACHABLE5 = SUNVMCID.value + 242 ;
  3555. public INTERNAL statementNotReachable5( CompletionStatus cs, Throwable t ) {
  3556. INTERNAL exc = new INTERNAL( STATEMENT_NOT_REACHABLE5, cs ) ;
  3557. if (t != null)
  3558. exc.initCause( t ) ;
  3559. if (logger.isLoggable( Level.WARNING )) {
  3560. Object[] parameters = null ;
  3561. doLog( Level.WARNING, "ORBUTIL.statementNotReachable5",
  3562. parameters, ORBUtilSystemException.class, exc ) ;
  3563. }
  3564. return exc ;
  3565. }
  3566. public INTERNAL statementNotReachable5( CompletionStatus cs ) {
  3567. return statementNotReachable5( cs, null ) ;
  3568. }
  3569. public INTERNAL statementNotReachable5( Throwable t ) {
  3570. return statementNotReachable5( CompletionStatus.COMPLETED_NO, t ) ;
  3571. }
  3572. public INTERNAL statementNotReachable5( ) {
  3573. return statementNotReachable5( CompletionStatus.COMPLETED_NO, null ) ;
  3574. }
  3575. public static final int STATEMENT_NOT_REACHABLE6 = SUNVMCID.value + 243 ;
  3576. public INTERNAL statementNotReachable6( CompletionStatus cs, Throwable t ) {
  3577. INTERNAL exc = new INTERNAL( STATEMENT_NOT_REACHABLE6, cs ) ;
  3578. if (t != null)
  3579. exc.initCause( t ) ;
  3580. if (logger.isLoggable( Level.WARNING )) {
  3581. Object[] parameters = null ;
  3582. doLog( Level.WARNING, "ORBUTIL.statementNotReachable6",
  3583. parameters, ORBUtilSystemException.class, exc ) ;
  3584. }
  3585. return exc ;
  3586. }
  3587. public INTERNAL statementNotReachable6( CompletionStatus cs ) {
  3588. return statementNotReachable6( cs, null ) ;
  3589. }
  3590. public INTERNAL statementNotReachable6( Throwable t ) {
  3591. return statementNotReachable6( CompletionStatus.COMPLETED_NO, t ) ;
  3592. }
  3593. public INTERNAL statementNotReachable6( ) {
  3594. return statementNotReachable6( CompletionStatus.COMPLETED_NO, null ) ;
  3595. }
  3596. public static final int UNEXPECTED_DII_EXCEPTION = SUNVMCID.value + 244 ;
  3597. public INTERNAL unexpectedDiiException( CompletionStatus cs, Throwable t ) {
  3598. INTERNAL exc = new INTERNAL( UNEXPECTED_DII_EXCEPTION, cs ) ;
  3599. if (t != null)
  3600. exc.initCause( t ) ;
  3601. if (logger.isLoggable( Level.WARNING )) {
  3602. Object[] parameters = null ;
  3603. doLog( Level.WARNING, "ORBUTIL.unexpectedDiiException",
  3604. parameters, ORBUtilSystemException.class, exc ) ;
  3605. }
  3606. return exc ;
  3607. }
  3608. public INTERNAL unexpectedDiiException( CompletionStatus cs ) {
  3609. return unexpectedDiiException( cs, null ) ;
  3610. }
  3611. public INTERNAL unexpectedDiiException( Throwable t ) {
  3612. return unexpectedDiiException( CompletionStatus.COMPLETED_NO, t ) ;
  3613. }
  3614. public INTERNAL unexpectedDiiException( ) {
  3615. return unexpectedDiiException( CompletionStatus.COMPLETED_NO, null ) ;
  3616. }
  3617. public static final int METHOD_SHOULD_NOT_BE_CALLED = SUNVMCID.value + 245 ;
  3618. public INTERNAL methodShouldNotBeCalled( CompletionStatus cs, Throwable t ) {
  3619. INTERNAL exc = new INTERNAL( METHOD_SHOULD_NOT_BE_CALLED, cs ) ;
  3620. if (t != null)
  3621. exc.initCause( t ) ;
  3622. if (logger.isLoggable( Level.WARNING )) {
  3623. Object[] parameters = null ;
  3624. doLog( Level.WARNING, "ORBUTIL.methodShouldNotBeCalled",
  3625. parameters, ORBUtilSystemException.class, exc ) ;
  3626. }
  3627. return exc ;
  3628. }
  3629. public INTERNAL methodShouldNotBeCalled( CompletionStatus cs ) {
  3630. return methodShouldNotBeCalled( cs, null ) ;
  3631. }
  3632. public INTERNAL methodShouldNotBeCalled( Throwable t ) {
  3633. return methodShouldNotBeCalled( CompletionStatus.COMPLETED_NO, t ) ;
  3634. }
  3635. public INTERNAL methodShouldNotBeCalled( ) {
  3636. return methodShouldNotBeCalled( CompletionStatus.COMPLETED_NO, null ) ;
  3637. }
  3638. public static final int CANCEL_NOT_SUPPORTED = SUNVMCID.value + 246 ;
  3639. public INTERNAL cancelNotSupported( CompletionStatus cs, Throwable t ) {
  3640. INTERNAL exc = new INTERNAL( CANCEL_NOT_SUPPORTED, cs ) ;
  3641. if (t != null)
  3642. exc.initCause( t ) ;
  3643. if (logger.isLoggable( Level.WARNING )) {
  3644. Object[] parameters = null ;
  3645. doLog( Level.WARNING, "ORBUTIL.cancelNotSupported",
  3646. parameters, ORBUtilSystemException.class, exc ) ;
  3647. }
  3648. return exc ;
  3649. }
  3650. public INTERNAL cancelNotSupported( CompletionStatus cs ) {
  3651. return cancelNotSupported( cs, null ) ;
  3652. }
  3653. public INTERNAL cancelNotSupported( Throwable t ) {
  3654. return cancelNotSupported( CompletionStatus.COMPLETED_NO, t ) ;
  3655. }
  3656. public INTERNAL cancelNotSupported( ) {
  3657. return cancelNotSupported( CompletionStatus.COMPLETED_NO, null ) ;
  3658. }
  3659. public static final int EMPTY_STACK_RUN_SERVANT_POST_INVOKE = SUNVMCID.value + 247 ;
  3660. public INTERNAL emptyStackRunServantPostInvoke( CompletionStatus cs, Throwable t ) {
  3661. INTERNAL exc = new INTERNAL( EMPTY_STACK_RUN_SERVANT_POST_INVOKE, cs ) ;
  3662. if (t != null)
  3663. exc.initCause( t ) ;
  3664. if (logger.isLoggable( Level.WARNING )) {
  3665. Object[] parameters = null ;
  3666. doLog( Level.WARNING, "ORBUTIL.emptyStackRunServantPostInvoke",
  3667. parameters, ORBUtilSystemException.class, exc ) ;
  3668. }
  3669. return exc ;
  3670. }
  3671. public INTERNAL emptyStackRunServantPostInvoke( CompletionStatus cs ) {
  3672. return emptyStackRunServantPostInvoke( cs, null ) ;
  3673. }
  3674. public INTERNAL emptyStackRunServantPostInvoke( Throwable t ) {
  3675. return emptyStackRunServantPostInvoke( CompletionStatus.COMPLETED_NO, t ) ;
  3676. }
  3677. public INTERNAL emptyStackRunServantPostInvoke( ) {
  3678. return emptyStackRunServantPostInvoke( CompletionStatus.COMPLETED_NO, null ) ;
  3679. }
  3680. public static final int PROBLEM_WITH_EXCEPTION_TYPECODE = SUNVMCID.value + 248 ;
  3681. public INTERNAL problemWithExceptionTypecode( CompletionStatus cs, Throwable t ) {
  3682. INTERNAL exc = new INTERNAL( PROBLEM_WITH_EXCEPTION_TYPECODE, cs ) ;
  3683. if (t != null)
  3684. exc.initCause( t ) ;
  3685. if (logger.isLoggable( Level.WARNING )) {
  3686. Object[] parameters = null ;
  3687. doLog( Level.WARNING, "ORBUTIL.problemWithExceptionTypecode",
  3688. parameters, ORBUtilSystemException.class, exc ) ;
  3689. }
  3690. return exc ;
  3691. }
  3692. public INTERNAL problemWithExceptionTypecode( CompletionStatus cs ) {
  3693. return problemWithExceptionTypecode( cs, null ) ;
  3694. }
  3695. public INTERNAL problemWithExceptionTypecode( Throwable t ) {
  3696. return problemWithExceptionTypecode( CompletionStatus.COMPLETED_NO, t ) ;
  3697. }
  3698. public INTERNAL problemWithExceptionTypecode( ) {
  3699. return problemWithExceptionTypecode( CompletionStatus.COMPLETED_NO, null ) ;
  3700. }
  3701. public static final int ILLEGAL_SUBCONTRACT_ID = SUNVMCID.value + 249 ;
  3702. public INTERNAL illegalSubcontractId( CompletionStatus cs, Throwable t, Object arg0) {
  3703. INTERNAL exc = new INTERNAL( ILLEGAL_SUBCONTRACT_ID, cs ) ;
  3704. if (t != null)
  3705. exc.initCause( t ) ;
  3706. if (logger.isLoggable( Level.WARNING )) {
  3707. Object[] parameters = new Object[1] ;
  3708. parameters[0] = arg0 ;
  3709. doLog( Level.WARNING, "ORBUTIL.illegalSubcontractId",
  3710. parameters, ORBUtilSystemException.class, exc ) ;
  3711. }
  3712. return exc ;
  3713. }
  3714. public INTERNAL illegalSubcontractId( CompletionStatus cs, Object arg0) {
  3715. return illegalSubcontractId( cs, null, arg0 ) ;
  3716. }
  3717. public INTERNAL illegalSubcontractId( Throwable t, Object arg0) {
  3718. return illegalSubcontractId( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  3719. }
  3720. public INTERNAL illegalSubcontractId( Object arg0) {
  3721. return illegalSubcontractId( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  3722. }
  3723. public static final int BAD_SYSTEM_EXCEPTION_IN_LOCATE_REPLY = SUNVMCID.value + 250 ;
  3724. public INTERNAL badSystemExceptionInLocateReply( CompletionStatus cs, Throwable t ) {
  3725. INTERNAL exc = new INTERNAL( BAD_SYSTEM_EXCEPTION_IN_LOCATE_REPLY, cs ) ;
  3726. if (t != null)
  3727. exc.initCause( t ) ;
  3728. if (logger.isLoggable( Level.WARNING )) {
  3729. Object[] parameters = null ;
  3730. doLog( Level.WARNING, "ORBUTIL.badSystemExceptionInLocateReply",
  3731. parameters, ORBUtilSystemException.class, exc ) ;
  3732. }
  3733. return exc ;
  3734. }
  3735. public INTERNAL badSystemExceptionInLocateReply( CompletionStatus cs ) {
  3736. return badSystemExceptionInLocateReply( cs, null ) ;
  3737. }
  3738. public INTERNAL badSystemExceptionInLocateReply( Throwable t ) {
  3739. return badSystemExceptionInLocateReply( CompletionStatus.COMPLETED_NO, t ) ;
  3740. }
  3741. public INTERNAL badSystemExceptionInLocateReply( ) {
  3742. return badSystemExceptionInLocateReply( CompletionStatus.COMPLETED_NO, null ) ;
  3743. }
  3744. public static final int BAD_SYSTEM_EXCEPTION_IN_REPLY = SUNVMCID.value + 251 ;
  3745. public INTERNAL badSystemExceptionInReply( CompletionStatus cs, Throwable t ) {
  3746. INTERNAL exc = new INTERNAL( BAD_SYSTEM_EXCEPTION_IN_REPLY, cs ) ;
  3747. if (t != null)
  3748. exc.initCause( t ) ;
  3749. if (logger.isLoggable( Level.WARNING )) {
  3750. Object[] parameters = null ;
  3751. doLog( Level.WARNING, "ORBUTIL.badSystemExceptionInReply",
  3752. parameters, ORBUtilSystemException.class, exc ) ;
  3753. }
  3754. return exc ;
  3755. }
  3756. public INTERNAL badSystemExceptionInReply( CompletionStatus cs ) {
  3757. return badSystemExceptionInReply( cs, null ) ;
  3758. }
  3759. public INTERNAL badSystemExceptionInReply( Throwable t ) {
  3760. return badSystemExceptionInReply( CompletionStatus.COMPLETED_NO, t ) ;
  3761. }
  3762. public INTERNAL badSystemExceptionInReply( ) {
  3763. return badSystemExceptionInReply( CompletionStatus.COMPLETED_NO, null ) ;
  3764. }
  3765. public static final int BAD_COMPLETION_STATUS_IN_LOCATE_REPLY = SUNVMCID.value + 252 ;
  3766. public INTERNAL badCompletionStatusInLocateReply( CompletionStatus cs, Throwable t, Object arg0) {
  3767. INTERNAL exc = new INTERNAL( BAD_COMPLETION_STATUS_IN_LOCATE_REPLY, cs ) ;
  3768. if (t != null)
  3769. exc.initCause( t ) ;
  3770. if (logger.isLoggable( Level.WARNING )) {
  3771. Object[] parameters = new Object[1] ;
  3772. parameters[0] = arg0 ;
  3773. doLog( Level.WARNING, "ORBUTIL.badCompletionStatusInLocateReply",
  3774. parameters, ORBUtilSystemException.class, exc ) ;
  3775. }
  3776. return exc ;
  3777. }
  3778. public INTERNAL badCompletionStatusInLocateReply( CompletionStatus cs, Object arg0) {
  3779. return badCompletionStatusInLocateReply( cs, null, arg0 ) ;
  3780. }
  3781. public INTERNAL badCompletionStatusInLocateReply( Throwable t, Object arg0) {
  3782. return badCompletionStatusInLocateReply( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  3783. }
  3784. public INTERNAL badCompletionStatusInLocateReply( Object arg0) {
  3785. return badCompletionStatusInLocateReply( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  3786. }
  3787. public static final int BAD_COMPLETION_STATUS_IN_REPLY = SUNVMCID.value + 253 ;
  3788. public INTERNAL badCompletionStatusInReply( CompletionStatus cs, Throwable t, Object arg0) {
  3789. INTERNAL exc = new INTERNAL( BAD_COMPLETION_STATUS_IN_REPLY, cs ) ;
  3790. if (t != null)
  3791. exc.initCause( t ) ;
  3792. if (logger.isLoggable( Level.WARNING )) {
  3793. Object[] parameters = new Object[1] ;
  3794. parameters[0] = arg0 ;
  3795. doLog( Level.WARNING, "ORBUTIL.badCompletionStatusInReply",
  3796. parameters, ORBUtilSystemException.class, exc ) ;
  3797. }
  3798. return exc ;
  3799. }
  3800. public INTERNAL badCompletionStatusInReply( CompletionStatus cs, Object arg0) {
  3801. return badCompletionStatusInReply( cs, null, arg0 ) ;
  3802. }
  3803. public INTERNAL badCompletionStatusInReply( Throwable t, Object arg0) {
  3804. return badCompletionStatusInReply( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  3805. }
  3806. public INTERNAL badCompletionStatusInReply( Object arg0) {
  3807. return badCompletionStatusInReply( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  3808. }
  3809. public static final int BADKIND_CANNOT_OCCUR = SUNVMCID.value + 254 ;
  3810. public INTERNAL badkindCannotOccur( CompletionStatus cs, Throwable t ) {
  3811. INTERNAL exc = new INTERNAL( BADKIND_CANNOT_OCCUR, cs ) ;
  3812. if (t != null)
  3813. exc.initCause( t ) ;
  3814. if (logger.isLoggable( Level.WARNING )) {
  3815. Object[] parameters = null ;
  3816. doLog( Level.WARNING, "ORBUTIL.badkindCannotOccur",
  3817. parameters, ORBUtilSystemException.class, exc ) ;
  3818. }
  3819. return exc ;
  3820. }
  3821. public INTERNAL badkindCannotOccur( CompletionStatus cs ) {
  3822. return badkindCannotOccur( cs, null ) ;
  3823. }
  3824. public INTERNAL badkindCannotOccur( Throwable t ) {
  3825. return badkindCannotOccur( CompletionStatus.COMPLETED_NO, t ) ;
  3826. }
  3827. public INTERNAL badkindCannotOccur( ) {
  3828. return badkindCannotOccur( CompletionStatus.COMPLETED_NO, null ) ;
  3829. }
  3830. public static final int ERROR_RESOLVING_ALIAS = SUNVMCID.value + 255 ;
  3831. public INTERNAL errorResolvingAlias( CompletionStatus cs, Throwable t ) {
  3832. INTERNAL exc = new INTERNAL( ERROR_RESOLVING_ALIAS, cs ) ;
  3833. if (t != null)
  3834. exc.initCause( t ) ;
  3835. if (logger.isLoggable( Level.WARNING )) {
  3836. Object[] parameters = null ;
  3837. doLog( Level.WARNING, "ORBUTIL.errorResolvingAlias",
  3838. parameters, ORBUtilSystemException.class, exc ) ;
  3839. }
  3840. return exc ;
  3841. }
  3842. public INTERNAL errorResolvingAlias( CompletionStatus cs ) {
  3843. return errorResolvingAlias( cs, null ) ;
  3844. }
  3845. public INTERNAL errorResolvingAlias( Throwable t ) {
  3846. return errorResolvingAlias( CompletionStatus.COMPLETED_NO, t ) ;
  3847. }
  3848. public INTERNAL errorResolvingAlias( ) {
  3849. return errorResolvingAlias( CompletionStatus.COMPLETED_NO, null ) ;
  3850. }
  3851. public static final int TK_LONG_DOUBLE_NOT_SUPPORTED = SUNVMCID.value + 256 ;
  3852. public INTERNAL tkLongDoubleNotSupported( CompletionStatus cs, Throwable t ) {
  3853. INTERNAL exc = new INTERNAL( TK_LONG_DOUBLE_NOT_SUPPORTED, cs ) ;
  3854. if (t != null)
  3855. exc.initCause( t ) ;
  3856. if (logger.isLoggable( Level.WARNING )) {
  3857. Object[] parameters = null ;
  3858. doLog( Level.WARNING, "ORBUTIL.tkLongDoubleNotSupported",
  3859. parameters, ORBUtilSystemException.class, exc ) ;
  3860. }
  3861. return exc ;
  3862. }
  3863. public INTERNAL tkLongDoubleNotSupported( CompletionStatus cs ) {
  3864. return tkLongDoubleNotSupported( cs, null ) ;
  3865. }
  3866. public INTERNAL tkLongDoubleNotSupported( Throwable t ) {
  3867. return tkLongDoubleNotSupported( CompletionStatus.COMPLETED_NO, t ) ;
  3868. }
  3869. public INTERNAL tkLongDoubleNotSupported( ) {
  3870. return tkLongDoubleNotSupported( CompletionStatus.COMPLETED_NO, null ) ;
  3871. }
  3872. public static final int TYPECODE_NOT_SUPPORTED = SUNVMCID.value + 257 ;
  3873. public INTERNAL typecodeNotSupported( CompletionStatus cs, Throwable t ) {
  3874. INTERNAL exc = new INTERNAL( TYPECODE_NOT_SUPPORTED, cs ) ;
  3875. if (t != null)
  3876. exc.initCause( t ) ;
  3877. if (logger.isLoggable( Level.WARNING )) {
  3878. Object[] parameters = null ;
  3879. doLog( Level.WARNING, "ORBUTIL.typecodeNotSupported",
  3880. parameters, ORBUtilSystemException.class, exc ) ;
  3881. }
  3882. return exc ;
  3883. }
  3884. public INTERNAL typecodeNotSupported( CompletionStatus cs ) {
  3885. return typecodeNotSupported( cs, null ) ;
  3886. }
  3887. public INTERNAL typecodeNotSupported( Throwable t ) {
  3888. return typecodeNotSupported( CompletionStatus.COMPLETED_NO, t ) ;
  3889. }
  3890. public INTERNAL typecodeNotSupported( ) {
  3891. return typecodeNotSupported( CompletionStatus.COMPLETED_NO, null ) ;
  3892. }
  3893. public static final int BOUNDS_CANNOT_OCCUR = SUNVMCID.value + 259 ;
  3894. public INTERNAL boundsCannotOccur( CompletionStatus cs, Throwable t ) {
  3895. INTERNAL exc = new INTERNAL( BOUNDS_CANNOT_OCCUR, cs ) ;
  3896. if (t != null)
  3897. exc.initCause( t ) ;
  3898. if (logger.isLoggable( Level.WARNING )) {
  3899. Object[] parameters = null ;
  3900. doLog( Level.WARNING, "ORBUTIL.boundsCannotOccur",
  3901. parameters, ORBUtilSystemException.class, exc ) ;
  3902. }
  3903. return exc ;
  3904. }
  3905. public INTERNAL boundsCannotOccur( CompletionStatus cs ) {
  3906. return boundsCannotOccur( cs, null ) ;
  3907. }
  3908. public INTERNAL boundsCannotOccur( Throwable t ) {
  3909. return boundsCannotOccur( CompletionStatus.COMPLETED_NO, t ) ;
  3910. }
  3911. public INTERNAL boundsCannotOccur( ) {
  3912. return boundsCannotOccur( CompletionStatus.COMPLETED_NO, null ) ;
  3913. }
  3914. public static final int NUM_INVOCATIONS_ALREADY_ZERO = SUNVMCID.value + 261 ;
  3915. public INTERNAL numInvocationsAlreadyZero( CompletionStatus cs, Throwable t ) {
  3916. INTERNAL exc = new INTERNAL( NUM_INVOCATIONS_ALREADY_ZERO, cs ) ;
  3917. if (t != null)
  3918. exc.initCause( t ) ;
  3919. if (logger.isLoggable( Level.WARNING )) {
  3920. Object[] parameters = null ;
  3921. doLog( Level.WARNING, "ORBUTIL.numInvocationsAlreadyZero",
  3922. parameters, ORBUtilSystemException.class, exc ) ;
  3923. }
  3924. return exc ;
  3925. }
  3926. public INTERNAL numInvocationsAlreadyZero( CompletionStatus cs ) {
  3927. return numInvocationsAlreadyZero( cs, null ) ;
  3928. }
  3929. public INTERNAL numInvocationsAlreadyZero( Throwable t ) {
  3930. return numInvocationsAlreadyZero( CompletionStatus.COMPLETED_NO, t ) ;
  3931. }
  3932. public INTERNAL numInvocationsAlreadyZero( ) {
  3933. return numInvocationsAlreadyZero( CompletionStatus.COMPLETED_NO, null ) ;
  3934. }
  3935. public static final int ERROR_INIT_BADSERVERIDHANDLER = SUNVMCID.value + 262 ;
  3936. public INTERNAL errorInitBadserveridhandler( CompletionStatus cs, Throwable t ) {
  3937. INTERNAL exc = new INTERNAL( ERROR_INIT_BADSERVERIDHANDLER, cs ) ;
  3938. if (t != null)
  3939. exc.initCause( t ) ;
  3940. if (logger.isLoggable( Level.WARNING )) {
  3941. Object[] parameters = null ;
  3942. doLog( Level.WARNING, "ORBUTIL.errorInitBadserveridhandler",
  3943. parameters, ORBUtilSystemException.class, exc ) ;
  3944. }
  3945. return exc ;
  3946. }
  3947. public INTERNAL errorInitBadserveridhandler( CompletionStatus cs ) {
  3948. return errorInitBadserveridhandler( cs, null ) ;
  3949. }
  3950. public INTERNAL errorInitBadserveridhandler( Throwable t ) {
  3951. return errorInitBadserveridhandler( CompletionStatus.COMPLETED_NO, t ) ;
  3952. }
  3953. public INTERNAL errorInitBadserveridhandler( ) {
  3954. return errorInitBadserveridhandler( CompletionStatus.COMPLETED_NO, null ) ;
  3955. }
  3956. public static final int NO_TOA = SUNVMCID.value + 263 ;
  3957. public INTERNAL noToa( CompletionStatus cs, Throwable t ) {
  3958. INTERNAL exc = new INTERNAL( NO_TOA, cs ) ;
  3959. if (t != null)
  3960. exc.initCause( t ) ;
  3961. if (logger.isLoggable( Level.WARNING )) {
  3962. Object[] parameters = null ;
  3963. doLog( Level.WARNING, "ORBUTIL.noToa",
  3964. parameters, ORBUtilSystemException.class, exc ) ;
  3965. }
  3966. return exc ;
  3967. }
  3968. public INTERNAL noToa( CompletionStatus cs ) {
  3969. return noToa( cs, null ) ;
  3970. }
  3971. public INTERNAL noToa( Throwable t ) {
  3972. return noToa( CompletionStatus.COMPLETED_NO, t ) ;
  3973. }
  3974. public INTERNAL noToa( ) {
  3975. return noToa( CompletionStatus.COMPLETED_NO, null ) ;
  3976. }
  3977. public static final int NO_POA = SUNVMCID.value + 264 ;
  3978. public INTERNAL noPoa( CompletionStatus cs, Throwable t ) {
  3979. INTERNAL exc = new INTERNAL( NO_POA, cs ) ;
  3980. if (t != null)
  3981. exc.initCause( t ) ;
  3982. if (logger.isLoggable( Level.WARNING )) {
  3983. Object[] parameters = null ;
  3984. doLog( Level.WARNING, "ORBUTIL.noPoa",
  3985. parameters, ORBUtilSystemException.class, exc ) ;
  3986. }
  3987. return exc ;
  3988. }
  3989. public INTERNAL noPoa( CompletionStatus cs ) {
  3990. return noPoa( cs, null ) ;
  3991. }
  3992. public INTERNAL noPoa( Throwable t ) {
  3993. return noPoa( CompletionStatus.COMPLETED_NO, t ) ;
  3994. }
  3995. public INTERNAL noPoa( ) {
  3996. return noPoa( CompletionStatus.COMPLETED_NO, null ) ;
  3997. }
  3998. public static final int INVOCATION_INFO_STACK_EMPTY = SUNVMCID.value + 265 ;
  3999. public INTERNAL invocationInfoStackEmpty( CompletionStatus cs, Throwable t ) {
  4000. INTERNAL exc = new INTERNAL( INVOCATION_INFO_STACK_EMPTY, cs ) ;
  4001. if (t != null)
  4002. exc.initCause( t ) ;
  4003. if (logger.isLoggable( Level.WARNING )) {
  4004. Object[] parameters = null ;
  4005. doLog( Level.WARNING, "ORBUTIL.invocationInfoStackEmpty",
  4006. parameters, ORBUtilSystemException.class, exc ) ;
  4007. }
  4008. return exc ;
  4009. }
  4010. public INTERNAL invocationInfoStackEmpty( CompletionStatus cs ) {
  4011. return invocationInfoStackEmpty( cs, null ) ;
  4012. }
  4013. public INTERNAL invocationInfoStackEmpty( Throwable t ) {
  4014. return invocationInfoStackEmpty( CompletionStatus.COMPLETED_NO, t ) ;
  4015. }
  4016. public INTERNAL invocationInfoStackEmpty( ) {
  4017. return invocationInfoStackEmpty( CompletionStatus.COMPLETED_NO, null ) ;
  4018. }
  4019. public static final int BAD_CODE_SET_STRING = SUNVMCID.value + 266 ;
  4020. public INTERNAL badCodeSetString( CompletionStatus cs, Throwable t ) {
  4021. INTERNAL exc = new INTERNAL( BAD_CODE_SET_STRING, cs ) ;
  4022. if (t != null)
  4023. exc.initCause( t ) ;
  4024. if (logger.isLoggable( Level.WARNING )) {
  4025. Object[] parameters = null ;
  4026. doLog( Level.WARNING, "ORBUTIL.badCodeSetString",
  4027. parameters, ORBUtilSystemException.class, exc ) ;
  4028. }
  4029. return exc ;
  4030. }
  4031. public INTERNAL badCodeSetString( CompletionStatus cs ) {
  4032. return badCodeSetString( cs, null ) ;
  4033. }
  4034. public INTERNAL badCodeSetString( Throwable t ) {
  4035. return badCodeSetString( CompletionStatus.COMPLETED_NO, t ) ;
  4036. }
  4037. public INTERNAL badCodeSetString( ) {
  4038. return badCodeSetString( CompletionStatus.COMPLETED_NO, null ) ;
  4039. }
  4040. public static final int UNKNOWN_NATIVE_CODESET = SUNVMCID.value + 267 ;
  4041. public INTERNAL unknownNativeCodeset( CompletionStatus cs, Throwable t, Object arg0) {
  4042. INTERNAL exc = new INTERNAL( UNKNOWN_NATIVE_CODESET, cs ) ;
  4043. if (t != null)
  4044. exc.initCause( t ) ;
  4045. if (logger.isLoggable( Level.WARNING )) {
  4046. Object[] parameters = new Object[1] ;
  4047. parameters[0] = arg0 ;
  4048. doLog( Level.WARNING, "ORBUTIL.unknownNativeCodeset",
  4049. parameters, ORBUtilSystemException.class, exc ) ;
  4050. }
  4051. return exc ;
  4052. }
  4053. public INTERNAL unknownNativeCodeset( CompletionStatus cs, Object arg0) {
  4054. return unknownNativeCodeset( cs, null, arg0 ) ;
  4055. }
  4056. public INTERNAL unknownNativeCodeset( Throwable t, Object arg0) {
  4057. return unknownNativeCodeset( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  4058. }
  4059. public INTERNAL unknownNativeCodeset( Object arg0) {
  4060. return unknownNativeCodeset( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  4061. }
  4062. public static final int UNKNOWN_CONVERSION_CODE_SET = SUNVMCID.value + 268 ;
  4063. public INTERNAL unknownConversionCodeSet( CompletionStatus cs, Throwable t, Object arg0) {
  4064. INTERNAL exc = new INTERNAL( UNKNOWN_CONVERSION_CODE_SET, cs ) ;
  4065. if (t != null)
  4066. exc.initCause( t ) ;
  4067. if (logger.isLoggable( Level.WARNING )) {
  4068. Object[] parameters = new Object[1] ;
  4069. parameters[0] = arg0 ;
  4070. doLog( Level.WARNING, "ORBUTIL.unknownConversionCodeSet",
  4071. parameters, ORBUtilSystemException.class, exc ) ;
  4072. }
  4073. return exc ;
  4074. }
  4075. public INTERNAL unknownConversionCodeSet( CompletionStatus cs, Object arg0) {
  4076. return unknownConversionCodeSet( cs, null, arg0 ) ;
  4077. }
  4078. public INTERNAL unknownConversionCodeSet( Throwable t, Object arg0) {
  4079. return unknownConversionCodeSet( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  4080. }
  4081. public INTERNAL unknownConversionCodeSet( Object arg0) {
  4082. return unknownConversionCodeSet( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  4083. }
  4084. public static final int INVALID_CODE_SET_NUMBER = SUNVMCID.value + 269 ;
  4085. public INTERNAL invalidCodeSetNumber( CompletionStatus cs, Throwable t ) {
  4086. INTERNAL exc = new INTERNAL( INVALID_CODE_SET_NUMBER, cs ) ;
  4087. if (t != null)
  4088. exc.initCause( t ) ;
  4089. if (logger.isLoggable( Level.WARNING )) {
  4090. Object[] parameters = null ;
  4091. doLog( Level.WARNING, "ORBUTIL.invalidCodeSetNumber",
  4092. parameters, ORBUtilSystemException.class, exc ) ;
  4093. }
  4094. return exc ;
  4095. }
  4096. public INTERNAL invalidCodeSetNumber( CompletionStatus cs ) {
  4097. return invalidCodeSetNumber( cs, null ) ;
  4098. }
  4099. public INTERNAL invalidCodeSetNumber( Throwable t ) {
  4100. return invalidCodeSetNumber( CompletionStatus.COMPLETED_NO, t ) ;
  4101. }
  4102. public INTERNAL invalidCodeSetNumber( ) {
  4103. return invalidCodeSetNumber( CompletionStatus.COMPLETED_NO, null ) ;
  4104. }
  4105. public static final int INVALID_CODE_SET_STRING = SUNVMCID.value + 270 ;
  4106. public INTERNAL invalidCodeSetString( CompletionStatus cs, Throwable t, Object arg0) {
  4107. INTERNAL exc = new INTERNAL( INVALID_CODE_SET_STRING, cs ) ;
  4108. if (t != null)
  4109. exc.initCause( t ) ;
  4110. if (logger.isLoggable( Level.WARNING )) {
  4111. Object[] parameters = new Object[1] ;
  4112. parameters[0] = arg0 ;
  4113. doLog( Level.WARNING, "ORBUTIL.invalidCodeSetString",
  4114. parameters, ORBUtilSystemException.class, exc ) ;
  4115. }
  4116. return exc ;
  4117. }
  4118. public INTERNAL invalidCodeSetString( CompletionStatus cs, Object arg0) {
  4119. return invalidCodeSetString( cs, null, arg0 ) ;
  4120. }
  4121. public INTERNAL invalidCodeSetString( Throwable t, Object arg0) {
  4122. return invalidCodeSetString( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  4123. }
  4124. public INTERNAL invalidCodeSetString( Object arg0) {
  4125. return invalidCodeSetString( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  4126. }
  4127. public static final int INVALID_CTB_CONVERTER_NAME = SUNVMCID.value + 271 ;
  4128. public INTERNAL invalidCtbConverterName( CompletionStatus cs, Throwable t, Object arg0) {
  4129. INTERNAL exc = new INTERNAL( INVALID_CTB_CONVERTER_NAME, cs ) ;
  4130. if (t != null)
  4131. exc.initCause( t ) ;
  4132. if (logger.isLoggable( Level.WARNING )) {
  4133. Object[] parameters = new Object[1] ;
  4134. parameters[0] = arg0 ;
  4135. doLog( Level.WARNING, "ORBUTIL.invalidCtbConverterName",
  4136. parameters, ORBUtilSystemException.class, exc ) ;
  4137. }
  4138. return exc ;
  4139. }
  4140. public INTERNAL invalidCtbConverterName( CompletionStatus cs, Object arg0) {
  4141. return invalidCtbConverterName( cs, null, arg0 ) ;
  4142. }
  4143. public INTERNAL invalidCtbConverterName( Throwable t, Object arg0) {
  4144. return invalidCtbConverterName( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  4145. }
  4146. public INTERNAL invalidCtbConverterName( Object arg0) {
  4147. return invalidCtbConverterName( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  4148. }
  4149. public static final int INVALID_BTC_CONVERTER_NAME = SUNVMCID.value + 272 ;
  4150. public INTERNAL invalidBtcConverterName( CompletionStatus cs, Throwable t, Object arg0) {
  4151. INTERNAL exc = new INTERNAL( INVALID_BTC_CONVERTER_NAME, cs ) ;
  4152. if (t != null)
  4153. exc.initCause( t ) ;
  4154. if (logger.isLoggable( Level.WARNING )) {
  4155. Object[] parameters = new Object[1] ;
  4156. parameters[0] = arg0 ;
  4157. doLog( Level.WARNING, "ORBUTIL.invalidBtcConverterName",
  4158. parameters, ORBUtilSystemException.class, exc ) ;
  4159. }
  4160. return exc ;
  4161. }
  4162. public INTERNAL invalidBtcConverterName( CompletionStatus cs, Object arg0) {
  4163. return invalidBtcConverterName( cs, null, arg0 ) ;
  4164. }
  4165. public INTERNAL invalidBtcConverterName( Throwable t, Object arg0) {
  4166. return invalidBtcConverterName( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  4167. }
  4168. public INTERNAL invalidBtcConverterName( Object arg0) {
  4169. return invalidBtcConverterName( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  4170. }
  4171. public static final int COULD_NOT_DUPLICATE_CDR_INPUT_STREAM = SUNVMCID.value + 273 ;
  4172. public INTERNAL couldNotDuplicateCdrInputStream( CompletionStatus cs, Throwable t ) {
  4173. INTERNAL exc = new INTERNAL( COULD_NOT_DUPLICATE_CDR_INPUT_STREAM, cs ) ;
  4174. if (t != null)
  4175. exc.initCause( t ) ;
  4176. if (logger.isLoggable( Level.WARNING )) {
  4177. Object[] parameters = null ;
  4178. doLog( Level.WARNING, "ORBUTIL.couldNotDuplicateCdrInputStream",
  4179. parameters, ORBUtilSystemException.class, exc ) ;
  4180. }
  4181. return exc ;
  4182. }
  4183. public INTERNAL couldNotDuplicateCdrInputStream( CompletionStatus cs ) {
  4184. return couldNotDuplicateCdrInputStream( cs, null ) ;
  4185. }
  4186. public INTERNAL couldNotDuplicateCdrInputStream( Throwable t ) {
  4187. return couldNotDuplicateCdrInputStream( CompletionStatus.COMPLETED_NO, t ) ;
  4188. }
  4189. public INTERNAL couldNotDuplicateCdrInputStream( ) {
  4190. return couldNotDuplicateCdrInputStream( CompletionStatus.COMPLETED_NO, null ) ;
  4191. }
  4192. public static final int BOOTSTRAP_APPLICATION_EXCEPTION = SUNVMCID.value + 274 ;
  4193. public INTERNAL bootstrapApplicationException( CompletionStatus cs, Throwable t ) {
  4194. INTERNAL exc = new INTERNAL( BOOTSTRAP_APPLICATION_EXCEPTION, cs ) ;
  4195. if (t != null)
  4196. exc.initCause( t ) ;
  4197. if (logger.isLoggable( Level.WARNING )) {
  4198. Object[] parameters = null ;
  4199. doLog( Level.WARNING, "ORBUTIL.bootstrapApplicationException",
  4200. parameters, ORBUtilSystemException.class, exc ) ;
  4201. }
  4202. return exc ;
  4203. }
  4204. public INTERNAL bootstrapApplicationException( CompletionStatus cs ) {
  4205. return bootstrapApplicationException( cs, null ) ;
  4206. }
  4207. public INTERNAL bootstrapApplicationException( Throwable t ) {
  4208. return bootstrapApplicationException( CompletionStatus.COMPLETED_NO, t ) ;
  4209. }
  4210. public INTERNAL bootstrapApplicationException( ) {
  4211. return bootstrapApplicationException( CompletionStatus.COMPLETED_NO, null ) ;
  4212. }
  4213. public static final int DUPLICATE_INDIRECTION_OFFSET = SUNVMCID.value + 275 ;
  4214. public INTERNAL duplicateIndirectionOffset( CompletionStatus cs, Throwable t ) {
  4215. INTERNAL exc = new INTERNAL( DUPLICATE_INDIRECTION_OFFSET, cs ) ;
  4216. if (t != null)
  4217. exc.initCause( t ) ;
  4218. if (logger.isLoggable( Level.WARNING )) {
  4219. Object[] parameters = null ;
  4220. doLog( Level.WARNING, "ORBUTIL.duplicateIndirectionOffset",
  4221. parameters, ORBUtilSystemException.class, exc ) ;
  4222. }
  4223. return exc ;
  4224. }
  4225. public INTERNAL duplicateIndirectionOffset( CompletionStatus cs ) {
  4226. return duplicateIndirectionOffset( cs, null ) ;
  4227. }
  4228. public INTERNAL duplicateIndirectionOffset( Throwable t ) {
  4229. return duplicateIndirectionOffset( CompletionStatus.COMPLETED_NO, t ) ;
  4230. }
  4231. public INTERNAL duplicateIndirectionOffset( ) {
  4232. return duplicateIndirectionOffset( CompletionStatus.COMPLETED_NO, null ) ;
  4233. }
  4234. public static final int BAD_MESSAGE_TYPE_FOR_CANCEL = SUNVMCID.value + 276 ;
  4235. public INTERNAL badMessageTypeForCancel( CompletionStatus cs, Throwable t ) {
  4236. INTERNAL exc = new INTERNAL( BAD_MESSAGE_TYPE_FOR_CANCEL, cs ) ;
  4237. if (t != null)
  4238. exc.initCause( t ) ;
  4239. if (logger.isLoggable( Level.WARNING )) {
  4240. Object[] parameters = null ;
  4241. doLog( Level.WARNING, "ORBUTIL.badMessageTypeForCancel",
  4242. parameters, ORBUtilSystemException.class, exc ) ;
  4243. }
  4244. return exc ;
  4245. }
  4246. public INTERNAL badMessageTypeForCancel( CompletionStatus cs ) {
  4247. return badMessageTypeForCancel( cs, null ) ;
  4248. }
  4249. public INTERNAL badMessageTypeForCancel( Throwable t ) {
  4250. return badMessageTypeForCancel( CompletionStatus.COMPLETED_NO, t ) ;
  4251. }
  4252. public INTERNAL badMessageTypeForCancel( ) {
  4253. return badMessageTypeForCancel( CompletionStatus.COMPLETED_NO, null ) ;
  4254. }
  4255. public static final int DUPLICATE_EXCEPTION_DETAIL_MESSAGE = SUNVMCID.value + 277 ;
  4256. public INTERNAL duplicateExceptionDetailMessage( CompletionStatus cs, Throwable t ) {
  4257. INTERNAL exc = new INTERNAL( DUPLICATE_EXCEPTION_DETAIL_MESSAGE, cs ) ;
  4258. if (t != null)
  4259. exc.initCause( t ) ;
  4260. if (logger.isLoggable( Level.WARNING )) {
  4261. Object[] parameters = null ;
  4262. doLog( Level.WARNING, "ORBUTIL.duplicateExceptionDetailMessage",
  4263. parameters, ORBUtilSystemException.class, exc ) ;
  4264. }
  4265. return exc ;
  4266. }
  4267. public INTERNAL duplicateExceptionDetailMessage( CompletionStatus cs ) {
  4268. return duplicateExceptionDetailMessage( cs, null ) ;
  4269. }
  4270. public INTERNAL duplicateExceptionDetailMessage( Throwable t ) {
  4271. return duplicateExceptionDetailMessage( CompletionStatus.COMPLETED_NO, t ) ;
  4272. }
  4273. public INTERNAL duplicateExceptionDetailMessage( ) {
  4274. return duplicateExceptionDetailMessage( CompletionStatus.COMPLETED_NO, null ) ;
  4275. }
  4276. public static final int BAD_EXCEPTION_DETAIL_MESSAGE_SERVICE_CONTEXT_TYPE = SUNVMCID.value + 278 ;
  4277. public INTERNAL badExceptionDetailMessageServiceContextType( CompletionStatus cs, Throwable t ) {
  4278. INTERNAL exc = new INTERNAL( BAD_EXCEPTION_DETAIL_MESSAGE_SERVICE_CONTEXT_TYPE, cs ) ;
  4279. if (t != null)
  4280. exc.initCause( t ) ;
  4281. if (logger.isLoggable( Level.WARNING )) {
  4282. Object[] parameters = null ;
  4283. doLog( Level.WARNING, "ORBUTIL.badExceptionDetailMessageServiceContextType",
  4284. parameters, ORBUtilSystemException.class, exc ) ;
  4285. }
  4286. return exc ;
  4287. }
  4288. public INTERNAL badExceptionDetailMessageServiceContextType( CompletionStatus cs ) {
  4289. return badExceptionDetailMessageServiceContextType( cs, null ) ;
  4290. }
  4291. public INTERNAL badExceptionDetailMessageServiceContextType( Throwable t ) {
  4292. return badExceptionDetailMessageServiceContextType( CompletionStatus.COMPLETED_NO, t ) ;
  4293. }
  4294. public INTERNAL badExceptionDetailMessageServiceContextType( ) {
  4295. return badExceptionDetailMessageServiceContextType( CompletionStatus.COMPLETED_NO, null ) ;
  4296. }
  4297. public static final int UNEXPECTED_DIRECT_BYTE_BUFFER_WITH_NON_CHANNEL_SOCKET = SUNVMCID.value + 279 ;
  4298. public INTERNAL unexpectedDirectByteBufferWithNonChannelSocket( CompletionStatus cs, Throwable t ) {
  4299. INTERNAL exc = new INTERNAL( UNEXPECTED_DIRECT_BYTE_BUFFER_WITH_NON_CHANNEL_SOCKET, cs ) ;
  4300. if (t != null)
  4301. exc.initCause( t ) ;
  4302. if (logger.isLoggable( Level.WARNING )) {
  4303. Object[] parameters = null ;
  4304. doLog( Level.WARNING, "ORBUTIL.unexpectedDirectByteBufferWithNonChannelSocket",
  4305. parameters, ORBUtilSystemException.class, exc ) ;
  4306. }
  4307. return exc ;
  4308. }
  4309. public INTERNAL unexpectedDirectByteBufferWithNonChannelSocket( CompletionStatus cs ) {
  4310. return unexpectedDirectByteBufferWithNonChannelSocket( cs, null ) ;
  4311. }
  4312. public INTERNAL unexpectedDirectByteBufferWithNonChannelSocket( Throwable t ) {
  4313. return unexpectedDirectByteBufferWithNonChannelSocket( CompletionStatus.COMPLETED_NO, t ) ;
  4314. }
  4315. public INTERNAL unexpectedDirectByteBufferWithNonChannelSocket( ) {
  4316. return unexpectedDirectByteBufferWithNonChannelSocket( CompletionStatus.COMPLETED_NO, null ) ;
  4317. }
  4318. public static final int UNEXPECTED_NON_DIRECT_BYTE_BUFFER_WITH_CHANNEL_SOCKET = SUNVMCID.value + 280 ;
  4319. public INTERNAL unexpectedNonDirectByteBufferWithChannelSocket( CompletionStatus cs, Throwable t ) {
  4320. INTERNAL exc = new INTERNAL( UNEXPECTED_NON_DIRECT_BYTE_BUFFER_WITH_CHANNEL_SOCKET, cs ) ;
  4321. if (t != null)
  4322. exc.initCause( t ) ;
  4323. if (logger.isLoggable( Level.WARNING )) {
  4324. Object[] parameters = null ;
  4325. doLog( Level.WARNING, "ORBUTIL.unexpectedNonDirectByteBufferWithChannelSocket",
  4326. parameters, ORBUtilSystemException.class, exc ) ;
  4327. }
  4328. return exc ;
  4329. }
  4330. public INTERNAL unexpectedNonDirectByteBufferWithChannelSocket( CompletionStatus cs ) {
  4331. return unexpectedNonDirectByteBufferWithChannelSocket( cs, null ) ;
  4332. }
  4333. public INTERNAL unexpectedNonDirectByteBufferWithChannelSocket( Throwable t ) {
  4334. return unexpectedNonDirectByteBufferWithChannelSocket( CompletionStatus.COMPLETED_NO, t ) ;
  4335. }
  4336. public INTERNAL unexpectedNonDirectByteBufferWithChannelSocket( ) {
  4337. return unexpectedNonDirectByteBufferWithChannelSocket( CompletionStatus.COMPLETED_NO, null ) ;
  4338. }
  4339. public static final int INVALID_CONTACT_INFO_LIST_ITERATOR_FAILURE_EXCEPTION = SUNVMCID.value + 282 ;
  4340. public INTERNAL invalidContactInfoListIteratorFailureException( CompletionStatus cs, Throwable t ) {
  4341. INTERNAL exc = new INTERNAL( INVALID_CONTACT_INFO_LIST_ITERATOR_FAILURE_EXCEPTION, cs ) ;
  4342. if (t != null)
  4343. exc.initCause( t ) ;
  4344. if (logger.isLoggable( Level.WARNING )) {
  4345. Object[] parameters = null ;
  4346. doLog( Level.WARNING, "ORBUTIL.invalidContactInfoListIteratorFailureException",
  4347. parameters, ORBUtilSystemException.class, exc ) ;
  4348. }
  4349. return exc ;
  4350. }
  4351. public INTERNAL invalidContactInfoListIteratorFailureException( CompletionStatus cs ) {
  4352. return invalidContactInfoListIteratorFailureException( cs, null ) ;
  4353. }
  4354. public INTERNAL invalidContactInfoListIteratorFailureException( Throwable t ) {
  4355. return invalidContactInfoListIteratorFailureException( CompletionStatus.COMPLETED_NO, t ) ;
  4356. }
  4357. public INTERNAL invalidContactInfoListIteratorFailureException( ) {
  4358. return invalidContactInfoListIteratorFailureException( CompletionStatus.COMPLETED_NO, null ) ;
  4359. }
  4360. public static final int REMARSHAL_WITH_NOWHERE_TO_GO = SUNVMCID.value + 283 ;
  4361. public INTERNAL remarshalWithNowhereToGo( CompletionStatus cs, Throwable t ) {
  4362. INTERNAL exc = new INTERNAL( REMARSHAL_WITH_NOWHERE_TO_GO, cs ) ;
  4363. if (t != null)
  4364. exc.initCause( t ) ;
  4365. if (logger.isLoggable( Level.WARNING )) {
  4366. Object[] parameters = null ;
  4367. doLog( Level.WARNING, "ORBUTIL.remarshalWithNowhereToGo",
  4368. parameters, ORBUtilSystemException.class, exc ) ;
  4369. }
  4370. return exc ;
  4371. }
  4372. public INTERNAL remarshalWithNowhereToGo( CompletionStatus cs ) {
  4373. return remarshalWithNowhereToGo( cs, null ) ;
  4374. }
  4375. public INTERNAL remarshalWithNowhereToGo( Throwable t ) {
  4376. return remarshalWithNowhereToGo( CompletionStatus.COMPLETED_NO, t ) ;
  4377. }
  4378. public INTERNAL remarshalWithNowhereToGo( ) {
  4379. return remarshalWithNowhereToGo( CompletionStatus.COMPLETED_NO, null ) ;
  4380. }
  4381. public static final int EXCEPTION_WHEN_SENDING_CLOSE_CONNECTION = SUNVMCID.value + 284 ;
  4382. public INTERNAL exceptionWhenSendingCloseConnection( CompletionStatus cs, Throwable t ) {
  4383. INTERNAL exc = new INTERNAL( EXCEPTION_WHEN_SENDING_CLOSE_CONNECTION, cs ) ;
  4384. if (t != null)
  4385. exc.initCause( t ) ;
  4386. if (logger.isLoggable( Level.WARNING )) {
  4387. Object[] parameters = null ;
  4388. doLog( Level.WARNING, "ORBUTIL.exceptionWhenSendingCloseConnection",
  4389. parameters, ORBUtilSystemException.class, exc ) ;
  4390. }
  4391. return exc ;
  4392. }
  4393. public INTERNAL exceptionWhenSendingCloseConnection( CompletionStatus cs ) {
  4394. return exceptionWhenSendingCloseConnection( cs, null ) ;
  4395. }
  4396. public INTERNAL exceptionWhenSendingCloseConnection( Throwable t ) {
  4397. return exceptionWhenSendingCloseConnection( CompletionStatus.COMPLETED_NO, t ) ;
  4398. }
  4399. public INTERNAL exceptionWhenSendingCloseConnection( ) {
  4400. return exceptionWhenSendingCloseConnection( CompletionStatus.COMPLETED_NO, null ) ;
  4401. }
  4402. public static final int INVOCATION_ERROR_IN_REFLECTIVE_TIE = SUNVMCID.value + 285 ;
  4403. public INTERNAL invocationErrorInReflectiveTie( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
  4404. INTERNAL exc = new INTERNAL( INVOCATION_ERROR_IN_REFLECTIVE_TIE, cs ) ;
  4405. if (t != null)
  4406. exc.initCause( t ) ;
  4407. if (logger.isLoggable( Level.WARNING )) {
  4408. Object[] parameters = new Object[2] ;
  4409. parameters[0] = arg0 ;
  4410. parameters[1] = arg1 ;
  4411. doLog( Level.WARNING, "ORBUTIL.invocationErrorInReflectiveTie",
  4412. parameters, ORBUtilSystemException.class, exc ) ;
  4413. }
  4414. return exc ;
  4415. }
  4416. public INTERNAL invocationErrorInReflectiveTie( CompletionStatus cs, Object arg0, Object arg1) {
  4417. return invocationErrorInReflectiveTie( cs, null, arg0, arg1 ) ;
  4418. }
  4419. public INTERNAL invocationErrorInReflectiveTie( Throwable t, Object arg0, Object arg1) {
  4420. return invocationErrorInReflectiveTie( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
  4421. }
  4422. public INTERNAL invocationErrorInReflectiveTie( Object arg0, Object arg1) {
  4423. return invocationErrorInReflectiveTie( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
  4424. }
  4425. public static final int BAD_HELPER_WRITE_METHOD = SUNVMCID.value + 286 ;
  4426. public INTERNAL badHelperWriteMethod( CompletionStatus cs, Throwable t, Object arg0) {
  4427. INTERNAL exc = new INTERNAL( BAD_HELPER_WRITE_METHOD, cs ) ;
  4428. if (t != null)
  4429. exc.initCause( t ) ;
  4430. if (logger.isLoggable( Level.WARNING )) {
  4431. Object[] parameters = new Object[1] ;
  4432. parameters[0] = arg0 ;
  4433. doLog( Level.WARNING, "ORBUTIL.badHelperWriteMethod",
  4434. parameters, ORBUtilSystemException.class, exc ) ;
  4435. }
  4436. return exc ;
  4437. }
  4438. public INTERNAL badHelperWriteMethod( CompletionStatus cs, Object arg0) {
  4439. return badHelperWriteMethod( cs, null, arg0 ) ;
  4440. }
  4441. public INTERNAL badHelperWriteMethod( Throwable t, Object arg0) {
  4442. return badHelperWriteMethod( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  4443. }
  4444. public INTERNAL badHelperWriteMethod( Object arg0) {
  4445. return badHelperWriteMethod( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  4446. }
  4447. public static final int BAD_HELPER_READ_METHOD = SUNVMCID.value + 287 ;
  4448. public INTERNAL badHelperReadMethod( CompletionStatus cs, Throwable t, Object arg0) {
  4449. INTERNAL exc = new INTERNAL( BAD_HELPER_READ_METHOD, cs ) ;
  4450. if (t != null)
  4451. exc.initCause( t ) ;
  4452. if (logger.isLoggable( Level.WARNING )) {
  4453. Object[] parameters = new Object[1] ;
  4454. parameters[0] = arg0 ;
  4455. doLog( Level.WARNING, "ORBUTIL.badHelperReadMethod",
  4456. parameters, ORBUtilSystemException.class, exc ) ;
  4457. }
  4458. return exc ;
  4459. }
  4460. public INTERNAL badHelperReadMethod( CompletionStatus cs, Object arg0) {
  4461. return badHelperReadMethod( cs, null, arg0 ) ;
  4462. }
  4463. public INTERNAL badHelperReadMethod( Throwable t, Object arg0) {
  4464. return badHelperReadMethod( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  4465. }
  4466. public INTERNAL badHelperReadMethod( Object arg0) {
  4467. return badHelperReadMethod( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  4468. }
  4469. public static final int BAD_HELPER_ID_METHOD = SUNVMCID.value + 288 ;
  4470. public INTERNAL badHelperIdMethod( CompletionStatus cs, Throwable t, Object arg0) {
  4471. INTERNAL exc = new INTERNAL( BAD_HELPER_ID_METHOD, cs ) ;
  4472. if (t != null)
  4473. exc.initCause( t ) ;
  4474. if (logger.isLoggable( Level.WARNING )) {
  4475. Object[] parameters = new Object[1] ;
  4476. parameters[0] = arg0 ;
  4477. doLog( Level.WARNING, "ORBUTIL.badHelperIdMethod",
  4478. parameters, ORBUtilSystemException.class, exc ) ;
  4479. }
  4480. return exc ;
  4481. }
  4482. public INTERNAL badHelperIdMethod( CompletionStatus cs, Object arg0) {
  4483. return badHelperIdMethod( cs, null, arg0 ) ;
  4484. }
  4485. public INTERNAL badHelperIdMethod( Throwable t, Object arg0) {
  4486. return badHelperIdMethod( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  4487. }
  4488. public INTERNAL badHelperIdMethod( Object arg0) {
  4489. return badHelperIdMethod( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  4490. }
  4491. public static final int WRITE_UNDECLARED_EXCEPTION = SUNVMCID.value + 289 ;
  4492. public INTERNAL writeUndeclaredException( CompletionStatus cs, Throwable t, Object arg0) {
  4493. INTERNAL exc = new INTERNAL( WRITE_UNDECLARED_EXCEPTION, cs ) ;
  4494. if (t != null)
  4495. exc.initCause( t ) ;
  4496. if (logger.isLoggable( Level.WARNING )) {
  4497. Object[] parameters = new Object[1] ;
  4498. parameters[0] = arg0 ;
  4499. doLog( Level.WARNING, "ORBUTIL.writeUndeclaredException",
  4500. parameters, ORBUtilSystemException.class, exc ) ;
  4501. }
  4502. return exc ;
  4503. }
  4504. public INTERNAL writeUndeclaredException( CompletionStatus cs, Object arg0) {
  4505. return writeUndeclaredException( cs, null, arg0 ) ;
  4506. }
  4507. public INTERNAL writeUndeclaredException( Throwable t, Object arg0) {
  4508. return writeUndeclaredException( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  4509. }
  4510. public INTERNAL writeUndeclaredException( Object arg0) {
  4511. return writeUndeclaredException( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  4512. }
  4513. public static final int READ_UNDECLARED_EXCEPTION = SUNVMCID.value + 290 ;
  4514. public INTERNAL readUndeclaredException( CompletionStatus cs, Throwable t, Object arg0) {
  4515. INTERNAL exc = new INTERNAL( READ_UNDECLARED_EXCEPTION, cs ) ;
  4516. if (t != null)
  4517. exc.initCause( t ) ;
  4518. if (logger.isLoggable( Level.WARNING )) {
  4519. Object[] parameters = new Object[1] ;
  4520. parameters[0] = arg0 ;
  4521. doLog( Level.WARNING, "ORBUTIL.readUndeclaredException",
  4522. parameters, ORBUtilSystemException.class, exc ) ;
  4523. }
  4524. return exc ;
  4525. }
  4526. public INTERNAL readUndeclaredException( CompletionStatus cs, Object arg0) {
  4527. return readUndeclaredException( cs, null, arg0 ) ;
  4528. }
  4529. public INTERNAL readUndeclaredException( Throwable t, Object arg0) {
  4530. return readUndeclaredException( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  4531. }
  4532. public INTERNAL readUndeclaredException( Object arg0) {
  4533. return readUndeclaredException( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  4534. }
  4535. public static final int UNABLE_TO_SET_SOCKET_FACTORY_ORB = SUNVMCID.value + 291 ;
  4536. public INTERNAL unableToSetSocketFactoryOrb( CompletionStatus cs, Throwable t ) {
  4537. INTERNAL exc = new INTERNAL( UNABLE_TO_SET_SOCKET_FACTORY_ORB, cs ) ;
  4538. if (t != null)
  4539. exc.initCause( t ) ;
  4540. if (logger.isLoggable( Level.WARNING )) {
  4541. Object[] parameters = null ;
  4542. doLog( Level.WARNING, "ORBUTIL.unableToSetSocketFactoryOrb",
  4543. parameters, ORBUtilSystemException.class, exc ) ;
  4544. }
  4545. return exc ;
  4546. }
  4547. public INTERNAL unableToSetSocketFactoryOrb( CompletionStatus cs ) {
  4548. return unableToSetSocketFactoryOrb( cs, null ) ;
  4549. }
  4550. public INTERNAL unableToSetSocketFactoryOrb( Throwable t ) {
  4551. return unableToSetSocketFactoryOrb( CompletionStatus.COMPLETED_NO, t ) ;
  4552. }
  4553. public INTERNAL unableToSetSocketFactoryOrb( ) {
  4554. return unableToSetSocketFactoryOrb( CompletionStatus.COMPLETED_NO, null ) ;
  4555. }
  4556. public static final int UNEXPECTED_EXCEPTION = SUNVMCID.value + 292 ;
  4557. public INTERNAL unexpectedException( CompletionStatus cs, Throwable t ) {
  4558. INTERNAL exc = new INTERNAL( UNEXPECTED_EXCEPTION, cs ) ;
  4559. if (t != null)
  4560. exc.initCause( t ) ;
  4561. if (logger.isLoggable( Level.WARNING )) {
  4562. Object[] parameters = null ;
  4563. doLog( Level.WARNING, "ORBUTIL.unexpectedException",
  4564. parameters, ORBUtilSystemException.class, exc ) ;
  4565. }
  4566. return exc ;
  4567. }
  4568. public INTERNAL unexpectedException( CompletionStatus cs ) {
  4569. return unexpectedException( cs, null ) ;
  4570. }
  4571. public INTERNAL unexpectedException( Throwable t ) {
  4572. return unexpectedException( CompletionStatus.COMPLETED_NO, t ) ;
  4573. }
  4574. public INTERNAL unexpectedException( ) {
  4575. return unexpectedException( CompletionStatus.COMPLETED_NO, null ) ;
  4576. }
  4577. public static final int NO_INVOCATION_HANDLER = SUNVMCID.value + 293 ;
  4578. public INTERNAL noInvocationHandler( CompletionStatus cs, Throwable t, Object arg0) {
  4579. INTERNAL exc = new INTERNAL( NO_INVOCATION_HANDLER, cs ) ;
  4580. if (t != null)
  4581. exc.initCause( t ) ;
  4582. if (logger.isLoggable( Level.WARNING )) {
  4583. Object[] parameters = new Object[1] ;
  4584. parameters[0] = arg0 ;
  4585. doLog( Level.WARNING, "ORBUTIL.noInvocationHandler",
  4586. parameters, ORBUtilSystemException.class, exc ) ;
  4587. }
  4588. return exc ;
  4589. }
  4590. public INTERNAL noInvocationHandler( CompletionStatus cs, Object arg0) {
  4591. return noInvocationHandler( cs, null, arg0 ) ;
  4592. }
  4593. public INTERNAL noInvocationHandler( Throwable t, Object arg0) {
  4594. return noInvocationHandler( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  4595. }
  4596. public INTERNAL noInvocationHandler( Object arg0) {
  4597. return noInvocationHandler( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  4598. }
  4599. public static final int INVALID_BUFF_MGR_STRATEGY = SUNVMCID.value + 294 ;
  4600. public INTERNAL invalidBuffMgrStrategy( CompletionStatus cs, Throwable t, Object arg0) {
  4601. INTERNAL exc = new INTERNAL( INVALID_BUFF_MGR_STRATEGY, cs ) ;
  4602. if (t != null)
  4603. exc.initCause( t ) ;
  4604. if (logger.isLoggable( Level.WARNING )) {
  4605. Object[] parameters = new Object[1] ;
  4606. parameters[0] = arg0 ;
  4607. doLog( Level.WARNING, "ORBUTIL.invalidBuffMgrStrategy",
  4608. parameters, ORBUtilSystemException.class, exc ) ;
  4609. }
  4610. return exc ;
  4611. }
  4612. public INTERNAL invalidBuffMgrStrategy( CompletionStatus cs, Object arg0) {
  4613. return invalidBuffMgrStrategy( cs, null, arg0 ) ;
  4614. }
  4615. public INTERNAL invalidBuffMgrStrategy( Throwable t, Object arg0) {
  4616. return invalidBuffMgrStrategy( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  4617. }
  4618. public INTERNAL invalidBuffMgrStrategy( Object arg0) {
  4619. return invalidBuffMgrStrategy( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  4620. }
  4621. public static final int JAVA_STREAM_INIT_FAILED = SUNVMCID.value + 295 ;
  4622. public INTERNAL javaStreamInitFailed( CompletionStatus cs, Throwable t ) {
  4623. INTERNAL exc = new INTERNAL( JAVA_STREAM_INIT_FAILED, cs ) ;
  4624. if (t != null)
  4625. exc.initCause( t ) ;
  4626. if (logger.isLoggable( Level.WARNING )) {
  4627. Object[] parameters = null ;
  4628. doLog( Level.WARNING, "ORBUTIL.javaStreamInitFailed",
  4629. parameters, ORBUtilSystemException.class, exc ) ;
  4630. }
  4631. return exc ;
  4632. }
  4633. public INTERNAL javaStreamInitFailed( CompletionStatus cs ) {
  4634. return javaStreamInitFailed( cs, null ) ;
  4635. }
  4636. public INTERNAL javaStreamInitFailed( Throwable t ) {
  4637. return javaStreamInitFailed( CompletionStatus.COMPLETED_NO, t ) ;
  4638. }
  4639. public INTERNAL javaStreamInitFailed( ) {
  4640. return javaStreamInitFailed( CompletionStatus.COMPLETED_NO, null ) ;
  4641. }
  4642. public static final int DUPLICATE_ORB_VERSION_SERVICE_CONTEXT = SUNVMCID.value + 296 ;
  4643. public INTERNAL duplicateOrbVersionServiceContext( CompletionStatus cs, Throwable t ) {
  4644. INTERNAL exc = new INTERNAL( DUPLICATE_ORB_VERSION_SERVICE_CONTEXT, cs ) ;
  4645. if (t != null)
  4646. exc.initCause( t ) ;
  4647. if (logger.isLoggable( Level.WARNING )) {
  4648. Object[] parameters = null ;
  4649. doLog( Level.WARNING, "ORBUTIL.duplicateOrbVersionServiceContext",
  4650. parameters, ORBUtilSystemException.class, exc ) ;
  4651. }
  4652. return exc ;
  4653. }
  4654. public INTERNAL duplicateOrbVersionServiceContext( CompletionStatus cs ) {
  4655. return duplicateOrbVersionServiceContext( cs, null ) ;
  4656. }
  4657. public INTERNAL duplicateOrbVersionServiceContext( Throwable t ) {
  4658. return duplicateOrbVersionServiceContext( CompletionStatus.COMPLETED_NO, t ) ;
  4659. }
  4660. public INTERNAL duplicateOrbVersionServiceContext( ) {
  4661. return duplicateOrbVersionServiceContext( CompletionStatus.COMPLETED_NO, null ) ;
  4662. }
  4663. public static final int DUPLICATE_SENDING_CONTEXT_SERVICE_CONTEXT = SUNVMCID.value + 297 ;
  4664. public INTERNAL duplicateSendingContextServiceContext( CompletionStatus cs, Throwable t ) {
  4665. INTERNAL exc = new INTERNAL( DUPLICATE_SENDING_CONTEXT_SERVICE_CONTEXT, cs ) ;
  4666. if (t != null)
  4667. exc.initCause( t ) ;
  4668. if (logger.isLoggable( Level.WARNING )) {
  4669. Object[] parameters = null ;
  4670. doLog( Level.WARNING, "ORBUTIL.duplicateSendingContextServiceContext",
  4671. parameters, ORBUtilSystemException.class, exc ) ;
  4672. }
  4673. return exc ;
  4674. }
  4675. public INTERNAL duplicateSendingContextServiceContext( CompletionStatus cs ) {
  4676. return duplicateSendingContextServiceContext( cs, null ) ;
  4677. }
  4678. public INTERNAL duplicateSendingContextServiceContext( Throwable t ) {
  4679. return duplicateSendingContextServiceContext( CompletionStatus.COMPLETED_NO, t ) ;
  4680. }
  4681. public INTERNAL duplicateSendingContextServiceContext( ) {
  4682. return duplicateSendingContextServiceContext( CompletionStatus.COMPLETED_NO, null ) ;
  4683. }
  4684. ///////////////////////////////////////////////////////////
  4685. // MARSHAL
  4686. ///////////////////////////////////////////////////////////
  4687. public static final int CHUNK_OVERFLOW = SUNVMCID.value + 201 ;
  4688. public MARSHAL chunkOverflow( CompletionStatus cs, Throwable t ) {
  4689. MARSHAL exc = new MARSHAL( CHUNK_OVERFLOW, cs ) ;
  4690. if (t != null)
  4691. exc.initCause( t ) ;
  4692. if (logger.isLoggable( Level.WARNING )) {
  4693. Object[] parameters = null ;
  4694. doLog( Level.WARNING, "ORBUTIL.chunkOverflow",
  4695. parameters, ORBUtilSystemException.class, exc ) ;
  4696. }
  4697. return exc ;
  4698. }
  4699. public MARSHAL chunkOverflow( CompletionStatus cs ) {
  4700. return chunkOverflow( cs, null ) ;
  4701. }
  4702. public MARSHAL chunkOverflow( Throwable t ) {
  4703. return chunkOverflow( CompletionStatus.COMPLETED_NO, t ) ;
  4704. }
  4705. public MARSHAL chunkOverflow( ) {
  4706. return chunkOverflow( CompletionStatus.COMPLETED_NO, null ) ;
  4707. }
  4708. public static final int UNEXPECTED_EOF = SUNVMCID.value + 202 ;
  4709. public MARSHAL unexpectedEof( CompletionStatus cs, Throwable t ) {
  4710. MARSHAL exc = new MARSHAL( UNEXPECTED_EOF, cs ) ;
  4711. if (t != null)
  4712. exc.initCause( t ) ;
  4713. if (logger.isLoggable( Level.WARNING )) {
  4714. Object[] parameters = null ;
  4715. doLog( Level.WARNING, "ORBUTIL.unexpectedEof",
  4716. parameters, ORBUtilSystemException.class, exc ) ;
  4717. }
  4718. return exc ;
  4719. }
  4720. public MARSHAL unexpectedEof( CompletionStatus cs ) {
  4721. return unexpectedEof( cs, null ) ;
  4722. }
  4723. public MARSHAL unexpectedEof( Throwable t ) {
  4724. return unexpectedEof( CompletionStatus.COMPLETED_NO, t ) ;
  4725. }
  4726. public MARSHAL unexpectedEof( ) {
  4727. return unexpectedEof( CompletionStatus.COMPLETED_NO, null ) ;
  4728. }
  4729. public static final int READ_OBJECT_EXCEPTION = SUNVMCID.value + 203 ;
  4730. public MARSHAL readObjectException( CompletionStatus cs, Throwable t ) {
  4731. MARSHAL exc = new MARSHAL( READ_OBJECT_EXCEPTION, cs ) ;
  4732. if (t != null)
  4733. exc.initCause( t ) ;
  4734. if (logger.isLoggable( Level.WARNING )) {
  4735. Object[] parameters = null ;
  4736. doLog( Level.WARNING, "ORBUTIL.readObjectException",
  4737. parameters, ORBUtilSystemException.class, exc ) ;
  4738. }
  4739. return exc ;
  4740. }
  4741. public MARSHAL readObjectException( CompletionStatus cs ) {
  4742. return readObjectException( cs, null ) ;
  4743. }
  4744. public MARSHAL readObjectException( Throwable t ) {
  4745. return readObjectException( CompletionStatus.COMPLETED_NO, t ) ;
  4746. }
  4747. public MARSHAL readObjectException( ) {
  4748. return readObjectException( CompletionStatus.COMPLETED_NO, null ) ;
  4749. }
  4750. public static final int CHARACTER_OUTOFRANGE = SUNVMCID.value + 204 ;
  4751. public MARSHAL characterOutofrange( CompletionStatus cs, Throwable t ) {
  4752. MARSHAL exc = new MARSHAL( CHARACTER_OUTOFRANGE, cs ) ;
  4753. if (t != null)
  4754. exc.initCause( t ) ;
  4755. if (logger.isLoggable( Level.WARNING )) {
  4756. Object[] parameters = null ;
  4757. doLog( Level.WARNING, "ORBUTIL.characterOutofrange",
  4758. parameters, ORBUtilSystemException.class, exc ) ;
  4759. }
  4760. return exc ;
  4761. }
  4762. public MARSHAL characterOutofrange( CompletionStatus cs ) {
  4763. return characterOutofrange( cs, null ) ;
  4764. }
  4765. public MARSHAL characterOutofrange( Throwable t ) {
  4766. return characterOutofrange( CompletionStatus.COMPLETED_NO, t ) ;
  4767. }
  4768. public MARSHAL characterOutofrange( ) {
  4769. return characterOutofrange( CompletionStatus.COMPLETED_NO, null ) ;
  4770. }
  4771. public static final int DSI_RESULT_EXCEPTION = SUNVMCID.value + 205 ;
  4772. public MARSHAL dsiResultException( CompletionStatus cs, Throwable t ) {
  4773. MARSHAL exc = new MARSHAL( DSI_RESULT_EXCEPTION, cs ) ;
  4774. if (t != null)
  4775. exc.initCause( t ) ;
  4776. if (logger.isLoggable( Level.WARNING )) {
  4777. Object[] parameters = null ;
  4778. doLog( Level.WARNING, "ORBUTIL.dsiResultException",
  4779. parameters, ORBUtilSystemException.class, exc ) ;
  4780. }
  4781. return exc ;
  4782. }
  4783. public MARSHAL dsiResultException( CompletionStatus cs ) {
  4784. return dsiResultException( cs, null ) ;
  4785. }
  4786. public MARSHAL dsiResultException( Throwable t ) {
  4787. return dsiResultException( CompletionStatus.COMPLETED_NO, t ) ;
  4788. }
  4789. public MARSHAL dsiResultException( ) {
  4790. return dsiResultException( CompletionStatus.COMPLETED_NO, null ) ;
  4791. }
  4792. public static final int IIOPINPUTSTREAM_GROW = SUNVMCID.value + 206 ;
  4793. public MARSHAL iiopinputstreamGrow( CompletionStatus cs, Throwable t ) {
  4794. MARSHAL exc = new MARSHAL( IIOPINPUTSTREAM_GROW, cs ) ;
  4795. if (t != null)
  4796. exc.initCause( t ) ;
  4797. if (logger.isLoggable( Level.WARNING )) {
  4798. Object[] parameters = null ;
  4799. doLog( Level.WARNING, "ORBUTIL.iiopinputstreamGrow",
  4800. parameters, ORBUtilSystemException.class, exc ) ;
  4801. }
  4802. return exc ;
  4803. }
  4804. public MARSHAL iiopinputstreamGrow( CompletionStatus cs ) {
  4805. return iiopinputstreamGrow( cs, null ) ;
  4806. }
  4807. public MARSHAL iiopinputstreamGrow( Throwable t ) {
  4808. return iiopinputstreamGrow( CompletionStatus.COMPLETED_NO, t ) ;
  4809. }
  4810. public MARSHAL iiopinputstreamGrow( ) {
  4811. return iiopinputstreamGrow( CompletionStatus.COMPLETED_NO, null ) ;
  4812. }
  4813. public static final int END_OF_STREAM = SUNVMCID.value + 207 ;
  4814. public MARSHAL endOfStream( CompletionStatus cs, Throwable t ) {
  4815. MARSHAL exc = new MARSHAL( END_OF_STREAM, cs ) ;
  4816. if (t != null)
  4817. exc.initCause( t ) ;
  4818. if (logger.isLoggable( Level.FINE )) {
  4819. Object[] parameters = null ;
  4820. doLog( Level.FINE, "ORBUTIL.endOfStream",
  4821. parameters, ORBUtilSystemException.class, exc ) ;
  4822. }
  4823. return exc ;
  4824. }
  4825. public MARSHAL endOfStream( CompletionStatus cs ) {
  4826. return endOfStream( cs, null ) ;
  4827. }
  4828. public MARSHAL endOfStream( Throwable t ) {
  4829. return endOfStream( CompletionStatus.COMPLETED_NO, t ) ;
  4830. }
  4831. public MARSHAL endOfStream( ) {
  4832. return endOfStream( CompletionStatus.COMPLETED_NO, null ) ;
  4833. }
  4834. public static final int INVALID_OBJECT_KEY = SUNVMCID.value + 208 ;
  4835. public MARSHAL invalidObjectKey( CompletionStatus cs, Throwable t ) {
  4836. MARSHAL exc = new MARSHAL( INVALID_OBJECT_KEY, cs ) ;
  4837. if (t != null)
  4838. exc.initCause( t ) ;
  4839. if (logger.isLoggable( Level.WARNING )) {
  4840. Object[] parameters = null ;
  4841. doLog( Level.WARNING, "ORBUTIL.invalidObjectKey",
  4842. parameters, ORBUtilSystemException.class, exc ) ;
  4843. }
  4844. return exc ;
  4845. }
  4846. public MARSHAL invalidObjectKey( CompletionStatus cs ) {
  4847. return invalidObjectKey( cs, null ) ;
  4848. }
  4849. public MARSHAL invalidObjectKey( Throwable t ) {
  4850. return invalidObjectKey( CompletionStatus.COMPLETED_NO, t ) ;
  4851. }
  4852. public MARSHAL invalidObjectKey( ) {
  4853. return invalidObjectKey( CompletionStatus.COMPLETED_NO, null ) ;
  4854. }
  4855. public static final int MALFORMED_URL = SUNVMCID.value + 209 ;
  4856. public MARSHAL malformedUrl( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
  4857. MARSHAL exc = new MARSHAL( MALFORMED_URL, cs ) ;
  4858. if (t != null)
  4859. exc.initCause( t ) ;
  4860. if (logger.isLoggable( Level.WARNING )) {
  4861. Object[] parameters = new Object[2] ;
  4862. parameters[0] = arg0 ;
  4863. parameters[1] = arg1 ;
  4864. doLog( Level.WARNING, "ORBUTIL.malformedUrl",
  4865. parameters, ORBUtilSystemException.class, exc ) ;
  4866. }
  4867. return exc ;
  4868. }
  4869. public MARSHAL malformedUrl( CompletionStatus cs, Object arg0, Object arg1) {
  4870. return malformedUrl( cs, null, arg0, arg1 ) ;
  4871. }
  4872. public MARSHAL malformedUrl( Throwable t, Object arg0, Object arg1) {
  4873. return malformedUrl( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
  4874. }
  4875. public MARSHAL malformedUrl( Object arg0, Object arg1) {
  4876. return malformedUrl( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
  4877. }
  4878. public static final int VALUEHANDLER_READ_ERROR = SUNVMCID.value + 210 ;
  4879. public MARSHAL valuehandlerReadError( CompletionStatus cs, Throwable t ) {
  4880. MARSHAL exc = new MARSHAL( VALUEHANDLER_READ_ERROR, cs ) ;
  4881. if (t != null)
  4882. exc.initCause( t ) ;
  4883. if (logger.isLoggable( Level.WARNING )) {
  4884. Object[] parameters = null ;
  4885. doLog( Level.WARNING, "ORBUTIL.valuehandlerReadError",
  4886. parameters, ORBUtilSystemException.class, exc ) ;
  4887. }
  4888. return exc ;
  4889. }
  4890. public MARSHAL valuehandlerReadError( CompletionStatus cs ) {
  4891. return valuehandlerReadError( cs, null ) ;
  4892. }
  4893. public MARSHAL valuehandlerReadError( Throwable t ) {
  4894. return valuehandlerReadError( CompletionStatus.COMPLETED_NO, t ) ;
  4895. }
  4896. public MARSHAL valuehandlerReadError( ) {
  4897. return valuehandlerReadError( CompletionStatus.COMPLETED_NO, null ) ;
  4898. }
  4899. public static final int VALUEHANDLER_READ_EXCEPTION = SUNVMCID.value + 211 ;
  4900. public MARSHAL valuehandlerReadException( CompletionStatus cs, Throwable t ) {
  4901. MARSHAL exc = new MARSHAL( VALUEHANDLER_READ_EXCEPTION, cs ) ;
  4902. if (t != null)
  4903. exc.initCause( t ) ;
  4904. if (logger.isLoggable( Level.WARNING )) {
  4905. Object[] parameters = null ;
  4906. doLog( Level.WARNING, "ORBUTIL.valuehandlerReadException",
  4907. parameters, ORBUtilSystemException.class, exc ) ;
  4908. }
  4909. return exc ;
  4910. }
  4911. public MARSHAL valuehandlerReadException( CompletionStatus cs ) {
  4912. return valuehandlerReadException( cs, null ) ;
  4913. }
  4914. public MARSHAL valuehandlerReadException( Throwable t ) {
  4915. return valuehandlerReadException( CompletionStatus.COMPLETED_NO, t ) ;
  4916. }
  4917. public MARSHAL valuehandlerReadException( ) {
  4918. return valuehandlerReadException( CompletionStatus.COMPLETED_NO, null ) ;
  4919. }
  4920. public static final int BAD_KIND = SUNVMCID.value + 212 ;
  4921. public MARSHAL badKind( CompletionStatus cs, Throwable t ) {
  4922. MARSHAL exc = new MARSHAL( BAD_KIND, cs ) ;
  4923. if (t != null)
  4924. exc.initCause( t ) ;
  4925. if (logger.isLoggable( Level.WARNING )) {
  4926. Object[] parameters = null ;
  4927. doLog( Level.WARNING, "ORBUTIL.badKind",
  4928. parameters, ORBUtilSystemException.class, exc ) ;
  4929. }
  4930. return exc ;
  4931. }
  4932. public MARSHAL badKind( CompletionStatus cs ) {
  4933. return badKind( cs, null ) ;
  4934. }
  4935. public MARSHAL badKind( Throwable t ) {
  4936. return badKind( CompletionStatus.COMPLETED_NO, t ) ;
  4937. }
  4938. public MARSHAL badKind( ) {
  4939. return badKind( CompletionStatus.COMPLETED_NO, null ) ;
  4940. }
  4941. public static final int CNFE_READ_CLASS = SUNVMCID.value + 213 ;
  4942. public MARSHAL cnfeReadClass( CompletionStatus cs, Throwable t, Object arg0) {
  4943. MARSHAL exc = new MARSHAL( CNFE_READ_CLASS, cs ) ;
  4944. if (t != null)
  4945. exc.initCause( t ) ;
  4946. if (logger.isLoggable( Level.WARNING )) {
  4947. Object[] parameters = new Object[1] ;
  4948. parameters[0] = arg0 ;
  4949. doLog( Level.WARNING, "ORBUTIL.cnfeReadClass",
  4950. parameters, ORBUtilSystemException.class, exc ) ;
  4951. }
  4952. return exc ;
  4953. }
  4954. public MARSHAL cnfeReadClass( CompletionStatus cs, Object arg0) {
  4955. return cnfeReadClass( cs, null, arg0 ) ;
  4956. }
  4957. public MARSHAL cnfeReadClass( Throwable t, Object arg0) {
  4958. return cnfeReadClass( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  4959. }
  4960. public MARSHAL cnfeReadClass( Object arg0) {
  4961. return cnfeReadClass( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  4962. }
  4963. public static final int BAD_REP_ID_INDIRECTION = SUNVMCID.value + 214 ;
  4964. public MARSHAL badRepIdIndirection( CompletionStatus cs, Throwable t, Object arg0) {
  4965. MARSHAL exc = new MARSHAL( BAD_REP_ID_INDIRECTION, cs ) ;
  4966. if (t != null)
  4967. exc.initCause( t ) ;
  4968. if (logger.isLoggable( Level.WARNING )) {
  4969. Object[] parameters = new Object[1] ;
  4970. parameters[0] = arg0 ;
  4971. doLog( Level.WARNING, "ORBUTIL.badRepIdIndirection",
  4972. parameters, ORBUtilSystemException.class, exc ) ;
  4973. }
  4974. return exc ;
  4975. }
  4976. public MARSHAL badRepIdIndirection( CompletionStatus cs, Object arg0) {
  4977. return badRepIdIndirection( cs, null, arg0 ) ;
  4978. }
  4979. public MARSHAL badRepIdIndirection( Throwable t, Object arg0) {
  4980. return badRepIdIndirection( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  4981. }
  4982. public MARSHAL badRepIdIndirection( Object arg0) {
  4983. return badRepIdIndirection( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  4984. }
  4985. public static final int BAD_CODEBASE_INDIRECTION = SUNVMCID.value + 215 ;
  4986. public MARSHAL badCodebaseIndirection( CompletionStatus cs, Throwable t, Object arg0) {
  4987. MARSHAL exc = new MARSHAL( BAD_CODEBASE_INDIRECTION, cs ) ;
  4988. if (t != null)
  4989. exc.initCause( t ) ;
  4990. if (logger.isLoggable( Level.WARNING )) {
  4991. Object[] parameters = new Object[1] ;
  4992. parameters[0] = arg0 ;
  4993. doLog( Level.WARNING, "ORBUTIL.badCodebaseIndirection",
  4994. parameters, ORBUtilSystemException.class, exc ) ;
  4995. }
  4996. return exc ;
  4997. }
  4998. public MARSHAL badCodebaseIndirection( CompletionStatus cs, Object arg0) {
  4999. return badCodebaseIndirection( cs, null, arg0 ) ;
  5000. }
  5001. public MARSHAL badCodebaseIndirection( Throwable t, Object arg0) {
  5002. return badCodebaseIndirection( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  5003. }
  5004. public MARSHAL badCodebaseIndirection( Object arg0) {
  5005. return badCodebaseIndirection( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  5006. }
  5007. public static final int UNKNOWN_CODESET = SUNVMCID.value + 216 ;
  5008. public MARSHAL unknownCodeset( CompletionStatus cs, Throwable t, Object arg0) {
  5009. MARSHAL exc = new MARSHAL( UNKNOWN_CODESET, cs ) ;
  5010. if (t != null)
  5011. exc.initCause( t ) ;
  5012. if (logger.isLoggable( Level.WARNING )) {
  5013. Object[] parameters = new Object[1] ;
  5014. parameters[0] = arg0 ;
  5015. doLog( Level.WARNING, "ORBUTIL.unknownCodeset",
  5016. parameters, ORBUtilSystemException.class, exc ) ;
  5017. }
  5018. return exc ;
  5019. }
  5020. public MARSHAL unknownCodeset( CompletionStatus cs, Object arg0) {
  5021. return unknownCodeset( cs, null, arg0 ) ;
  5022. }
  5023. public MARSHAL unknownCodeset( Throwable t, Object arg0) {
  5024. return unknownCodeset( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  5025. }
  5026. public MARSHAL unknownCodeset( Object arg0) {
  5027. return unknownCodeset( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  5028. }
  5029. public static final int WCHAR_DATA_IN_GIOP_1_0 = SUNVMCID.value + 217 ;
  5030. public MARSHAL wcharDataInGiop10( CompletionStatus cs, Throwable t ) {
  5031. MARSHAL exc = new MARSHAL( WCHAR_DATA_IN_GIOP_1_0, cs ) ;
  5032. if (t != null)
  5033. exc.initCause( t ) ;
  5034. if (logger.isLoggable( Level.WARNING )) {
  5035. Object[] parameters = null ;
  5036. doLog( Level.WARNING, "ORBUTIL.wcharDataInGiop10",
  5037. parameters, ORBUtilSystemException.class, exc ) ;
  5038. }
  5039. return exc ;
  5040. }
  5041. public MARSHAL wcharDataInGiop10( CompletionStatus cs ) {
  5042. return wcharDataInGiop10( cs, null ) ;
  5043. }
  5044. public MARSHAL wcharDataInGiop10( Throwable t ) {
  5045. return wcharDataInGiop10( CompletionStatus.COMPLETED_NO, t ) ;
  5046. }
  5047. public MARSHAL wcharDataInGiop10( ) {
  5048. return wcharDataInGiop10( CompletionStatus.COMPLETED_NO, null ) ;
  5049. }
  5050. public static final int NEGATIVE_STRING_LENGTH = SUNVMCID.value + 218 ;
  5051. public MARSHAL negativeStringLength( CompletionStatus cs, Throwable t, Object arg0) {
  5052. MARSHAL exc = new MARSHAL( NEGATIVE_STRING_LENGTH, cs ) ;
  5053. if (t != null)
  5054. exc.initCause( t ) ;
  5055. if (logger.isLoggable( Level.WARNING )) {
  5056. Object[] parameters = new Object[1] ;
  5057. parameters[0] = arg0 ;
  5058. doLog( Level.WARNING, "ORBUTIL.negativeStringLength",
  5059. parameters, ORBUtilSystemException.class, exc ) ;
  5060. }
  5061. return exc ;
  5062. }
  5063. public MARSHAL negativeStringLength( CompletionStatus cs, Object arg0) {
  5064. return negativeStringLength( cs, null, arg0 ) ;
  5065. }
  5066. public MARSHAL negativeStringLength( Throwable t, Object arg0) {
  5067. return negativeStringLength( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  5068. }
  5069. public MARSHAL negativeStringLength( Object arg0) {
  5070. return negativeStringLength( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  5071. }
  5072. public static final int EXPECTED_TYPE_NULL_AND_NO_REP_ID = SUNVMCID.value + 219 ;
  5073. public MARSHAL expectedTypeNullAndNoRepId( CompletionStatus cs, Throwable t ) {
  5074. MARSHAL exc = new MARSHAL( EXPECTED_TYPE_NULL_AND_NO_REP_ID, cs ) ;
  5075. if (t != null)
  5076. exc.initCause( t ) ;
  5077. if (logger.isLoggable( Level.WARNING )) {
  5078. Object[] parameters = null ;
  5079. doLog( Level.WARNING, "ORBUTIL.expectedTypeNullAndNoRepId",
  5080. parameters, ORBUtilSystemException.class, exc ) ;
  5081. }
  5082. return exc ;
  5083. }
  5084. public MARSHAL expectedTypeNullAndNoRepId( CompletionStatus cs ) {
  5085. return expectedTypeNullAndNoRepId( cs, null ) ;
  5086. }
  5087. public MARSHAL expectedTypeNullAndNoRepId( Throwable t ) {
  5088. return expectedTypeNullAndNoRepId( CompletionStatus.COMPLETED_NO, t ) ;
  5089. }
  5090. public MARSHAL expectedTypeNullAndNoRepId( ) {
  5091. return expectedTypeNullAndNoRepId( CompletionStatus.COMPLETED_NO, null ) ;
  5092. }
  5093. public static final int READ_VALUE_AND_NO_REP_ID = SUNVMCID.value + 220 ;
  5094. public MARSHAL readValueAndNoRepId( CompletionStatus cs, Throwable t ) {
  5095. MARSHAL exc = new MARSHAL( READ_VALUE_AND_NO_REP_ID, cs ) ;
  5096. if (t != null)
  5097. exc.initCause( t ) ;
  5098. if (logger.isLoggable( Level.WARNING )) {
  5099. Object[] parameters = null ;
  5100. doLog( Level.WARNING, "ORBUTIL.readValueAndNoRepId",
  5101. parameters, ORBUtilSystemException.class, exc ) ;
  5102. }
  5103. return exc ;
  5104. }
  5105. public MARSHAL readValueAndNoRepId( CompletionStatus cs ) {
  5106. return readValueAndNoRepId( cs, null ) ;
  5107. }
  5108. public MARSHAL readValueAndNoRepId( Throwable t ) {
  5109. return readValueAndNoRepId( CompletionStatus.COMPLETED_NO, t ) ;
  5110. }
  5111. public MARSHAL readValueAndNoRepId( ) {
  5112. return readValueAndNoRepId( CompletionStatus.COMPLETED_NO, null ) ;
  5113. }
  5114. public static final int UNEXPECTED_ENCLOSING_VALUETYPE = SUNVMCID.value + 222 ;
  5115. public MARSHAL unexpectedEnclosingValuetype( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
  5116. MARSHAL exc = new MARSHAL( UNEXPECTED_ENCLOSING_VALUETYPE, cs ) ;
  5117. if (t != null)
  5118. exc.initCause( t ) ;
  5119. if (logger.isLoggable( Level.WARNING )) {
  5120. Object[] parameters = new Object[2] ;
  5121. parameters[0] = arg0 ;
  5122. parameters[1] = arg1 ;
  5123. doLog( Level.WARNING, "ORBUTIL.unexpectedEnclosingValuetype",
  5124. parameters, ORBUtilSystemException.class, exc ) ;
  5125. }
  5126. return exc ;
  5127. }
  5128. public MARSHAL unexpectedEnclosingValuetype( CompletionStatus cs, Object arg0, Object arg1) {
  5129. return unexpectedEnclosingValuetype( cs, null, arg0, arg1 ) ;
  5130. }
  5131. public MARSHAL unexpectedEnclosingValuetype( Throwable t, Object arg0, Object arg1) {
  5132. return unexpectedEnclosingValuetype( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
  5133. }
  5134. public MARSHAL unexpectedEnclosingValuetype( Object arg0, Object arg1) {
  5135. return unexpectedEnclosingValuetype( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
  5136. }
  5137. public static final int POSITIVE_END_TAG = SUNVMCID.value + 223 ;
  5138. public MARSHAL positiveEndTag( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
  5139. MARSHAL exc = new MARSHAL( POSITIVE_END_TAG, cs ) ;
  5140. if (t != null)
  5141. exc.initCause( t ) ;
  5142. if (logger.isLoggable( Level.WARNING )) {
  5143. Object[] parameters = new Object[2] ;
  5144. parameters[0] = arg0 ;
  5145. parameters[1] = arg1 ;
  5146. doLog( Level.WARNING, "ORBUTIL.positiveEndTag",
  5147. parameters, ORBUtilSystemException.class, exc ) ;
  5148. }
  5149. return exc ;
  5150. }
  5151. public MARSHAL positiveEndTag( CompletionStatus cs, Object arg0, Object arg1) {
  5152. return positiveEndTag( cs, null, arg0, arg1 ) ;
  5153. }
  5154. public MARSHAL positiveEndTag( Throwable t, Object arg0, Object arg1) {
  5155. return positiveEndTag( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
  5156. }
  5157. public MARSHAL positiveEndTag( Object arg0, Object arg1) {
  5158. return positiveEndTag( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
  5159. }
  5160. public static final int NULL_OUT_CALL = SUNVMCID.value + 224 ;
  5161. public MARSHAL nullOutCall( CompletionStatus cs, Throwable t ) {
  5162. MARSHAL exc = new MARSHAL( NULL_OUT_CALL, cs ) ;
  5163. if (t != null)
  5164. exc.initCause( t ) ;
  5165. if (logger.isLoggable( Level.WARNING )) {
  5166. Object[] parameters = null ;
  5167. doLog( Level.WARNING, "ORBUTIL.nullOutCall",
  5168. parameters, ORBUtilSystemException.class, exc ) ;
  5169. }
  5170. return exc ;
  5171. }
  5172. public MARSHAL nullOutCall( CompletionStatus cs ) {
  5173. return nullOutCall( cs, null ) ;
  5174. }
  5175. public MARSHAL nullOutCall( Throwable t ) {
  5176. return nullOutCall( CompletionStatus.COMPLETED_NO, t ) ;
  5177. }
  5178. public MARSHAL nullOutCall( ) {
  5179. return nullOutCall( CompletionStatus.COMPLETED_NO, null ) ;
  5180. }
  5181. public static final int WRITE_LOCAL_OBJECT = SUNVMCID.value + 225 ;
  5182. public MARSHAL writeLocalObject( CompletionStatus cs, Throwable t ) {
  5183. MARSHAL exc = new MARSHAL( WRITE_LOCAL_OBJECT, cs ) ;
  5184. if (t != null)
  5185. exc.initCause( t ) ;
  5186. if (logger.isLoggable( Level.WARNING )) {
  5187. Object[] parameters = null ;
  5188. doLog( Level.WARNING, "ORBUTIL.writeLocalObject",
  5189. parameters, ORBUtilSystemException.class, exc ) ;
  5190. }
  5191. return exc ;
  5192. }
  5193. public MARSHAL writeLocalObject( CompletionStatus cs ) {
  5194. return writeLocalObject( cs, null ) ;
  5195. }
  5196. public MARSHAL writeLocalObject( Throwable t ) {
  5197. return writeLocalObject( CompletionStatus.COMPLETED_NO, t ) ;
  5198. }
  5199. public MARSHAL writeLocalObject( ) {
  5200. return writeLocalObject( CompletionStatus.COMPLETED_NO, null ) ;
  5201. }
  5202. public static final int BAD_INSERTOBJ_PARAM = SUNVMCID.value + 226 ;
  5203. public MARSHAL badInsertobjParam( CompletionStatus cs, Throwable t, Object arg0) {
  5204. MARSHAL exc = new MARSHAL( BAD_INSERTOBJ_PARAM, cs ) ;
  5205. if (t != null)
  5206. exc.initCause( t ) ;
  5207. if (logger.isLoggable( Level.WARNING )) {
  5208. Object[] parameters = new Object[1] ;
  5209. parameters[0] = arg0 ;
  5210. doLog( Level.WARNING, "ORBUTIL.badInsertobjParam",
  5211. parameters, ORBUtilSystemException.class, exc ) ;
  5212. }
  5213. return exc ;
  5214. }
  5215. public MARSHAL badInsertobjParam( CompletionStatus cs, Object arg0) {
  5216. return badInsertobjParam( cs, null, arg0 ) ;
  5217. }
  5218. public MARSHAL badInsertobjParam( Throwable t, Object arg0) {
  5219. return badInsertobjParam( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  5220. }
  5221. public MARSHAL badInsertobjParam( Object arg0) {
  5222. return badInsertobjParam( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  5223. }
  5224. public static final int CUSTOM_WRAPPER_WITH_CODEBASE = SUNVMCID.value + 227 ;
  5225. public MARSHAL customWrapperWithCodebase( CompletionStatus cs, Throwable t ) {
  5226. MARSHAL exc = new MARSHAL( CUSTOM_WRAPPER_WITH_CODEBASE, cs ) ;
  5227. if (t != null)
  5228. exc.initCause( t ) ;
  5229. if (logger.isLoggable( Level.WARNING )) {
  5230. Object[] parameters = null ;
  5231. doLog( Level.WARNING, "ORBUTIL.customWrapperWithCodebase",
  5232. parameters, ORBUtilSystemException.class, exc ) ;
  5233. }
  5234. return exc ;
  5235. }
  5236. public MARSHAL customWrapperWithCodebase( CompletionStatus cs ) {
  5237. return customWrapperWithCodebase( cs, null ) ;
  5238. }
  5239. public MARSHAL customWrapperWithCodebase( Throwable t ) {
  5240. return customWrapperWithCodebase( CompletionStatus.COMPLETED_NO, t ) ;
  5241. }
  5242. public MARSHAL customWrapperWithCodebase( ) {
  5243. return customWrapperWithCodebase( CompletionStatus.COMPLETED_NO, null ) ;
  5244. }
  5245. public static final int CUSTOM_WRAPPER_INDIRECTION = SUNVMCID.value + 228 ;
  5246. public MARSHAL customWrapperIndirection( CompletionStatus cs, Throwable t ) {
  5247. MARSHAL exc = new MARSHAL( CUSTOM_WRAPPER_INDIRECTION, cs ) ;
  5248. if (t != null)
  5249. exc.initCause( t ) ;
  5250. if (logger.isLoggable( Level.WARNING )) {
  5251. Object[] parameters = null ;
  5252. doLog( Level.WARNING, "ORBUTIL.customWrapperIndirection",
  5253. parameters, ORBUtilSystemException.class, exc ) ;
  5254. }
  5255. return exc ;
  5256. }
  5257. public MARSHAL customWrapperIndirection( CompletionStatus cs ) {
  5258. return customWrapperIndirection( cs, null ) ;
  5259. }
  5260. public MARSHAL customWrapperIndirection( Throwable t ) {
  5261. return customWrapperIndirection( CompletionStatus.COMPLETED_NO, t ) ;
  5262. }
  5263. public MARSHAL customWrapperIndirection( ) {
  5264. return customWrapperIndirection( CompletionStatus.COMPLETED_NO, null ) ;
  5265. }
  5266. public static final int CUSTOM_WRAPPER_NOT_SINGLE_REPID = SUNVMCID.value + 229 ;
  5267. public MARSHAL customWrapperNotSingleRepid( CompletionStatus cs, Throwable t ) {
  5268. MARSHAL exc = new MARSHAL( CUSTOM_WRAPPER_NOT_SINGLE_REPID, cs ) ;
  5269. if (t != null)
  5270. exc.initCause( t ) ;
  5271. if (logger.isLoggable( Level.WARNING )) {
  5272. Object[] parameters = null ;
  5273. doLog( Level.WARNING, "ORBUTIL.customWrapperNotSingleRepid",
  5274. parameters, ORBUtilSystemException.class, exc ) ;
  5275. }
  5276. return exc ;
  5277. }
  5278. public MARSHAL customWrapperNotSingleRepid( CompletionStatus cs ) {
  5279. return customWrapperNotSingleRepid( cs, null ) ;
  5280. }
  5281. public MARSHAL customWrapperNotSingleRepid( Throwable t ) {
  5282. return customWrapperNotSingleRepid( CompletionStatus.COMPLETED_NO, t ) ;
  5283. }
  5284. public MARSHAL customWrapperNotSingleRepid( ) {
  5285. return customWrapperNotSingleRepid( CompletionStatus.COMPLETED_NO, null ) ;
  5286. }
  5287. public static final int BAD_VALUE_TAG = SUNVMCID.value + 230 ;
  5288. public MARSHAL badValueTag( CompletionStatus cs, Throwable t, Object arg0) {
  5289. MARSHAL exc = new MARSHAL( BAD_VALUE_TAG, cs ) ;
  5290. if (t != null)
  5291. exc.initCause( t ) ;
  5292. if (logger.isLoggable( Level.WARNING )) {
  5293. Object[] parameters = new Object[1] ;
  5294. parameters[0] = arg0 ;
  5295. doLog( Level.WARNING, "ORBUTIL.badValueTag",
  5296. parameters, ORBUtilSystemException.class, exc ) ;
  5297. }
  5298. return exc ;
  5299. }
  5300. public MARSHAL badValueTag( CompletionStatus cs, Object arg0) {
  5301. return badValueTag( cs, null, arg0 ) ;
  5302. }
  5303. public MARSHAL badValueTag( Throwable t, Object arg0) {
  5304. return badValueTag( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  5305. }
  5306. public MARSHAL badValueTag( Object arg0) {
  5307. return badValueTag( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  5308. }
  5309. public static final int BAD_TYPECODE_FOR_CUSTOM_VALUE = SUNVMCID.value + 231 ;
  5310. public MARSHAL badTypecodeForCustomValue( CompletionStatus cs, Throwable t ) {
  5311. MARSHAL exc = new MARSHAL( BAD_TYPECODE_FOR_CUSTOM_VALUE, cs ) ;
  5312. if (t != null)
  5313. exc.initCause( t ) ;
  5314. if (logger.isLoggable( Level.WARNING )) {
  5315. Object[] parameters = null ;
  5316. doLog( Level.WARNING, "ORBUTIL.badTypecodeForCustomValue",
  5317. parameters, ORBUtilSystemException.class, exc ) ;
  5318. }
  5319. return exc ;
  5320. }
  5321. public MARSHAL badTypecodeForCustomValue( CompletionStatus cs ) {
  5322. return badTypecodeForCustomValue( cs, null ) ;
  5323. }
  5324. public MARSHAL badTypecodeForCustomValue( Throwable t ) {
  5325. return badTypecodeForCustomValue( CompletionStatus.COMPLETED_NO, t ) ;
  5326. }
  5327. public MARSHAL badTypecodeForCustomValue( ) {
  5328. return badTypecodeForCustomValue( CompletionStatus.COMPLETED_NO, null ) ;
  5329. }
  5330. public static final int ERROR_INVOKING_HELPER_WRITE = SUNVMCID.value + 232 ;
  5331. public MARSHAL errorInvokingHelperWrite( CompletionStatus cs, Throwable t ) {
  5332. MARSHAL exc = new MARSHAL( ERROR_INVOKING_HELPER_WRITE, cs ) ;
  5333. if (t != null)
  5334. exc.initCause( t ) ;
  5335. if (logger.isLoggable( Level.WARNING )) {
  5336. Object[] parameters = null ;
  5337. doLog( Level.WARNING, "ORBUTIL.errorInvokingHelperWrite",
  5338. parameters, ORBUtilSystemException.class, exc ) ;
  5339. }
  5340. return exc ;
  5341. }
  5342. public MARSHAL errorInvokingHelperWrite( CompletionStatus cs ) {
  5343. return errorInvokingHelperWrite( cs, null ) ;
  5344. }
  5345. public MARSHAL errorInvokingHelperWrite( Throwable t ) {
  5346. return errorInvokingHelperWrite( CompletionStatus.COMPLETED_NO, t ) ;
  5347. }
  5348. public MARSHAL errorInvokingHelperWrite( ) {
  5349. return errorInvokingHelperWrite( CompletionStatus.COMPLETED_NO, null ) ;
  5350. }
  5351. public static final int BAD_DIGIT_IN_FIXED = SUNVMCID.value + 233 ;
  5352. public MARSHAL badDigitInFixed( CompletionStatus cs, Throwable t ) {
  5353. MARSHAL exc = new MARSHAL( BAD_DIGIT_IN_FIXED, cs ) ;
  5354. if (t != null)
  5355. exc.initCause( t ) ;
  5356. if (logger.isLoggable( Level.WARNING )) {
  5357. Object[] parameters = null ;
  5358. doLog( Level.WARNING, "ORBUTIL.badDigitInFixed",
  5359. parameters, ORBUtilSystemException.class, exc ) ;
  5360. }
  5361. return exc ;
  5362. }
  5363. public MARSHAL badDigitInFixed( CompletionStatus cs ) {
  5364. return badDigitInFixed( cs, null ) ;
  5365. }
  5366. public MARSHAL badDigitInFixed( Throwable t ) {
  5367. return badDigitInFixed( CompletionStatus.COMPLETED_NO, t ) ;
  5368. }
  5369. public MARSHAL badDigitInFixed( ) {
  5370. return badDigitInFixed( CompletionStatus.COMPLETED_NO, null ) ;
  5371. }
  5372. public static final int REF_TYPE_INDIR_TYPE = SUNVMCID.value + 234 ;
  5373. public MARSHAL refTypeIndirType( CompletionStatus cs, Throwable t ) {
  5374. MARSHAL exc = new MARSHAL( REF_TYPE_INDIR_TYPE, cs ) ;
  5375. if (t != null)
  5376. exc.initCause( t ) ;
  5377. if (logger.isLoggable( Level.WARNING )) {
  5378. Object[] parameters = null ;
  5379. doLog( Level.WARNING, "ORBUTIL.refTypeIndirType",
  5380. parameters, ORBUtilSystemException.class, exc ) ;
  5381. }
  5382. return exc ;
  5383. }
  5384. public MARSHAL refTypeIndirType( CompletionStatus cs ) {
  5385. return refTypeIndirType( cs, null ) ;
  5386. }
  5387. public MARSHAL refTypeIndirType( Throwable t ) {
  5388. return refTypeIndirType( CompletionStatus.COMPLETED_NO, t ) ;
  5389. }
  5390. public MARSHAL refTypeIndirType( ) {
  5391. return refTypeIndirType( CompletionStatus.COMPLETED_NO, null ) ;
  5392. }
  5393. public static final int BAD_RESERVED_LENGTH = SUNVMCID.value + 235 ;
  5394. public MARSHAL badReservedLength( CompletionStatus cs, Throwable t ) {
  5395. MARSHAL exc = new MARSHAL( BAD_RESERVED_LENGTH, cs ) ;
  5396. if (t != null)
  5397. exc.initCause( t ) ;
  5398. if (logger.isLoggable( Level.WARNING )) {
  5399. Object[] parameters = null ;
  5400. doLog( Level.WARNING, "ORBUTIL.badReservedLength",
  5401. parameters, ORBUtilSystemException.class, exc ) ;
  5402. }
  5403. return exc ;
  5404. }
  5405. public MARSHAL badReservedLength( CompletionStatus cs ) {
  5406. return badReservedLength( cs, null ) ;
  5407. }
  5408. public MARSHAL badReservedLength( Throwable t ) {
  5409. return badReservedLength( CompletionStatus.COMPLETED_NO, t ) ;
  5410. }
  5411. public MARSHAL badReservedLength( ) {
  5412. return badReservedLength( CompletionStatus.COMPLETED_NO, null ) ;
  5413. }
  5414. public static final int NULL_NOT_ALLOWED = SUNVMCID.value + 236 ;
  5415. public MARSHAL nullNotAllowed( CompletionStatus cs, Throwable t ) {
  5416. MARSHAL exc = new MARSHAL( NULL_NOT_ALLOWED, cs ) ;
  5417. if (t != null)
  5418. exc.initCause( t ) ;
  5419. if (logger.isLoggable( Level.WARNING )) {
  5420. Object[] parameters = null ;
  5421. doLog( Level.WARNING, "ORBUTIL.nullNotAllowed",
  5422. parameters, ORBUtilSystemException.class, exc ) ;
  5423. }
  5424. return exc ;
  5425. }
  5426. public MARSHAL nullNotAllowed( CompletionStatus cs ) {
  5427. return nullNotAllowed( cs, null ) ;
  5428. }
  5429. public MARSHAL nullNotAllowed( Throwable t ) {
  5430. return nullNotAllowed( CompletionStatus.COMPLETED_NO, t ) ;
  5431. }
  5432. public MARSHAL nullNotAllowed( ) {
  5433. return nullNotAllowed( CompletionStatus.COMPLETED_NO, null ) ;
  5434. }
  5435. public static final int UNION_DISCRIMINATOR_ERROR = SUNVMCID.value + 238 ;
  5436. public MARSHAL unionDiscriminatorError( CompletionStatus cs, Throwable t ) {
  5437. MARSHAL exc = new MARSHAL( UNION_DISCRIMINATOR_ERROR, cs ) ;
  5438. if (t != null)
  5439. exc.initCause( t ) ;
  5440. if (logger.isLoggable( Level.WARNING )) {
  5441. Object[] parameters = null ;
  5442. doLog( Level.WARNING, "ORBUTIL.unionDiscriminatorError",
  5443. parameters, ORBUtilSystemException.class, exc ) ;
  5444. }
  5445. return exc ;
  5446. }
  5447. public MARSHAL unionDiscriminatorError( CompletionStatus cs ) {
  5448. return unionDiscriminatorError( cs, null ) ;
  5449. }
  5450. public MARSHAL unionDiscriminatorError( Throwable t ) {
  5451. return unionDiscriminatorError( CompletionStatus.COMPLETED_NO, t ) ;
  5452. }
  5453. public MARSHAL unionDiscriminatorError( ) {
  5454. return unionDiscriminatorError( CompletionStatus.COMPLETED_NO, null ) ;
  5455. }
  5456. public static final int CANNOT_MARSHAL_NATIVE = SUNVMCID.value + 239 ;
  5457. public MARSHAL cannotMarshalNative( CompletionStatus cs, Throwable t ) {
  5458. MARSHAL exc = new MARSHAL( CANNOT_MARSHAL_NATIVE, cs ) ;
  5459. if (t != null)
  5460. exc.initCause( t ) ;
  5461. if (logger.isLoggable( Level.WARNING )) {
  5462. Object[] parameters = null ;
  5463. doLog( Level.WARNING, "ORBUTIL.cannotMarshalNative",
  5464. parameters, ORBUtilSystemException.class, exc ) ;
  5465. }
  5466. return exc ;
  5467. }
  5468. public MARSHAL cannotMarshalNative( CompletionStatus cs ) {
  5469. return cannotMarshalNative( cs, null ) ;
  5470. }
  5471. public MARSHAL cannotMarshalNative( Throwable t ) {
  5472. return cannotMarshalNative( CompletionStatus.COMPLETED_NO, t ) ;
  5473. }
  5474. public MARSHAL cannotMarshalNative( ) {
  5475. return cannotMarshalNative( CompletionStatus.COMPLETED_NO, null ) ;
  5476. }
  5477. public static final int CANNOT_MARSHAL_BAD_TCKIND = SUNVMCID.value + 240 ;
  5478. public MARSHAL cannotMarshalBadTckind( CompletionStatus cs, Throwable t ) {
  5479. MARSHAL exc = new MARSHAL( CANNOT_MARSHAL_BAD_TCKIND, cs ) ;
  5480. if (t != null)
  5481. exc.initCause( t ) ;
  5482. if (logger.isLoggable( Level.WARNING )) {
  5483. Object[] parameters = null ;
  5484. doLog( Level.WARNING, "ORBUTIL.cannotMarshalBadTckind",
  5485. parameters, ORBUtilSystemException.class, exc ) ;
  5486. }
  5487. return exc ;
  5488. }
  5489. public MARSHAL cannotMarshalBadTckind( CompletionStatus cs ) {
  5490. return cannotMarshalBadTckind( cs, null ) ;
  5491. }
  5492. public MARSHAL cannotMarshalBadTckind( Throwable t ) {
  5493. return cannotMarshalBadTckind( CompletionStatus.COMPLETED_NO, t ) ;
  5494. }
  5495. public MARSHAL cannotMarshalBadTckind( ) {
  5496. return cannotMarshalBadTckind( CompletionStatus.COMPLETED_NO, null ) ;
  5497. }
  5498. public static final int INVALID_INDIRECTION = SUNVMCID.value + 241 ;
  5499. public MARSHAL invalidIndirection( CompletionStatus cs, Throwable t, Object arg0) {
  5500. MARSHAL exc = new MARSHAL( INVALID_INDIRECTION, cs ) ;
  5501. if (t != null)
  5502. exc.initCause( t ) ;
  5503. if (logger.isLoggable( Level.WARNING )) {
  5504. Object[] parameters = new Object[1] ;
  5505. parameters[0] = arg0 ;
  5506. doLog( Level.WARNING, "ORBUTIL.invalidIndirection",
  5507. parameters, ORBUtilSystemException.class, exc ) ;
  5508. }
  5509. return exc ;
  5510. }
  5511. public MARSHAL invalidIndirection( CompletionStatus cs, Object arg0) {
  5512. return invalidIndirection( cs, null, arg0 ) ;
  5513. }
  5514. public MARSHAL invalidIndirection( Throwable t, Object arg0) {
  5515. return invalidIndirection( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  5516. }
  5517. public MARSHAL invalidIndirection( Object arg0) {
  5518. return invalidIndirection( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  5519. }
  5520. public static final int INDIRECTION_NOT_FOUND = SUNVMCID.value + 242 ;
  5521. public MARSHAL indirectionNotFound( CompletionStatus cs, Throwable t, Object arg0) {
  5522. MARSHAL exc = new MARSHAL( INDIRECTION_NOT_FOUND, cs ) ;
  5523. if (t != null)
  5524. exc.initCause( t ) ;
  5525. if (logger.isLoggable( Level.FINE )) {
  5526. Object[] parameters = new Object[1] ;
  5527. parameters[0] = arg0 ;
  5528. doLog( Level.FINE, "ORBUTIL.indirectionNotFound",
  5529. parameters, ORBUtilSystemException.class, exc ) ;
  5530. }
  5531. return exc ;
  5532. }
  5533. public MARSHAL indirectionNotFound( CompletionStatus cs, Object arg0) {
  5534. return indirectionNotFound( cs, null, arg0 ) ;
  5535. }
  5536. public MARSHAL indirectionNotFound( Throwable t, Object arg0) {
  5537. return indirectionNotFound( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  5538. }
  5539. public MARSHAL indirectionNotFound( Object arg0) {
  5540. return indirectionNotFound( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  5541. }
  5542. public static final int RECURSIVE_TYPECODE_ERROR = SUNVMCID.value + 243 ;
  5543. public MARSHAL recursiveTypecodeError( CompletionStatus cs, Throwable t ) {
  5544. MARSHAL exc = new MARSHAL( RECURSIVE_TYPECODE_ERROR, cs ) ;
  5545. if (t != null)
  5546. exc.initCause( t ) ;
  5547. if (logger.isLoggable( Level.WARNING )) {
  5548. Object[] parameters = null ;
  5549. doLog( Level.WARNING, "ORBUTIL.recursiveTypecodeError",
  5550. parameters, ORBUtilSystemException.class, exc ) ;
  5551. }
  5552. return exc ;
  5553. }
  5554. public MARSHAL recursiveTypecodeError( CompletionStatus cs ) {
  5555. return recursiveTypecodeError( cs, null ) ;
  5556. }
  5557. public MARSHAL recursiveTypecodeError( Throwable t ) {
  5558. return recursiveTypecodeError( CompletionStatus.COMPLETED_NO, t ) ;
  5559. }
  5560. public MARSHAL recursiveTypecodeError( ) {
  5561. return recursiveTypecodeError( CompletionStatus.COMPLETED_NO, null ) ;
  5562. }
  5563. public static final int INVALID_SIMPLE_TYPECODE = SUNVMCID.value + 244 ;
  5564. public MARSHAL invalidSimpleTypecode( CompletionStatus cs, Throwable t ) {
  5565. MARSHAL exc = new MARSHAL( INVALID_SIMPLE_TYPECODE, cs ) ;
  5566. if (t != null)
  5567. exc.initCause( t ) ;
  5568. if (logger.isLoggable( Level.WARNING )) {
  5569. Object[] parameters = null ;
  5570. doLog( Level.WARNING, "ORBUTIL.invalidSimpleTypecode",
  5571. parameters, ORBUtilSystemException.class, exc ) ;
  5572. }
  5573. return exc ;
  5574. }
  5575. public MARSHAL invalidSimpleTypecode( CompletionStatus cs ) {
  5576. return invalidSimpleTypecode( cs, null ) ;
  5577. }
  5578. public MARSHAL invalidSimpleTypecode( Throwable t ) {
  5579. return invalidSimpleTypecode( CompletionStatus.COMPLETED_NO, t ) ;
  5580. }
  5581. public MARSHAL invalidSimpleTypecode( ) {
  5582. return invalidSimpleTypecode( CompletionStatus.COMPLETED_NO, null ) ;
  5583. }
  5584. public static final int INVALID_COMPLEX_TYPECODE = SUNVMCID.value + 245 ;
  5585. public MARSHAL invalidComplexTypecode( CompletionStatus cs, Throwable t ) {
  5586. MARSHAL exc = new MARSHAL( INVALID_COMPLEX_TYPECODE, cs ) ;
  5587. if (t != null)
  5588. exc.initCause( t ) ;
  5589. if (logger.isLoggable( Level.WARNING )) {
  5590. Object[] parameters = null ;
  5591. doLog( Level.WARNING, "ORBUTIL.invalidComplexTypecode",
  5592. parameters, ORBUtilSystemException.class, exc ) ;
  5593. }
  5594. return exc ;
  5595. }
  5596. public MARSHAL invalidComplexTypecode( CompletionStatus cs ) {
  5597. return invalidComplexTypecode( cs, null ) ;
  5598. }
  5599. public MARSHAL invalidComplexTypecode( Throwable t ) {
  5600. return invalidComplexTypecode( CompletionStatus.COMPLETED_NO, t ) ;
  5601. }
  5602. public MARSHAL invalidComplexTypecode( ) {
  5603. return invalidComplexTypecode( CompletionStatus.COMPLETED_NO, null ) ;
  5604. }
  5605. public static final int INVALID_TYPECODE_KIND_MARSHAL = SUNVMCID.value + 246 ;
  5606. public MARSHAL invalidTypecodeKindMarshal( CompletionStatus cs, Throwable t ) {
  5607. MARSHAL exc = new MARSHAL( INVALID_TYPECODE_KIND_MARSHAL, cs ) ;
  5608. if (t != null)
  5609. exc.initCause( t ) ;
  5610. if (logger.isLoggable( Level.WARNING )) {
  5611. Object[] parameters = null ;
  5612. doLog( Level.WARNING, "ORBUTIL.invalidTypecodeKindMarshal",
  5613. parameters, ORBUtilSystemException.class, exc ) ;
  5614. }
  5615. return exc ;
  5616. }
  5617. public MARSHAL invalidTypecodeKindMarshal( CompletionStatus cs ) {
  5618. return invalidTypecodeKindMarshal( cs, null ) ;
  5619. }
  5620. public MARSHAL invalidTypecodeKindMarshal( Throwable t ) {
  5621. return invalidTypecodeKindMarshal( CompletionStatus.COMPLETED_NO, t ) ;
  5622. }
  5623. public MARSHAL invalidTypecodeKindMarshal( ) {
  5624. return invalidTypecodeKindMarshal( CompletionStatus.COMPLETED_NO, null ) ;
  5625. }
  5626. public static final int UNEXPECTED_UNION_DEFAULT = SUNVMCID.value + 247 ;
  5627. public MARSHAL unexpectedUnionDefault( CompletionStatus cs, Throwable t ) {
  5628. MARSHAL exc = new MARSHAL( UNEXPECTED_UNION_DEFAULT, cs ) ;
  5629. if (t != null)
  5630. exc.initCause( t ) ;
  5631. if (logger.isLoggable( Level.WARNING )) {
  5632. Object[] parameters = null ;
  5633. doLog( Level.WARNING, "ORBUTIL.unexpectedUnionDefault",
  5634. parameters, ORBUtilSystemException.class, exc ) ;
  5635. }
  5636. return exc ;
  5637. }
  5638. public MARSHAL unexpectedUnionDefault( CompletionStatus cs ) {
  5639. return unexpectedUnionDefault( cs, null ) ;
  5640. }
  5641. public MARSHAL unexpectedUnionDefault( Throwable t ) {
  5642. return unexpectedUnionDefault( CompletionStatus.COMPLETED_NO, t ) ;
  5643. }
  5644. public MARSHAL unexpectedUnionDefault( ) {
  5645. return unexpectedUnionDefault( CompletionStatus.COMPLETED_NO, null ) ;
  5646. }
  5647. public static final int ILLEGAL_UNION_DISCRIMINATOR_TYPE = SUNVMCID.value + 248 ;
  5648. public MARSHAL illegalUnionDiscriminatorType( CompletionStatus cs, Throwable t ) {
  5649. MARSHAL exc = new MARSHAL( ILLEGAL_UNION_DISCRIMINATOR_TYPE, cs ) ;
  5650. if (t != null)
  5651. exc.initCause( t ) ;
  5652. if (logger.isLoggable( Level.WARNING )) {
  5653. Object[] parameters = null ;
  5654. doLog( Level.WARNING, "ORBUTIL.illegalUnionDiscriminatorType",
  5655. parameters, ORBUtilSystemException.class, exc ) ;
  5656. }
  5657. return exc ;
  5658. }
  5659. public MARSHAL illegalUnionDiscriminatorType( CompletionStatus cs ) {
  5660. return illegalUnionDiscriminatorType( cs, null ) ;
  5661. }
  5662. public MARSHAL illegalUnionDiscriminatorType( Throwable t ) {
  5663. return illegalUnionDiscriminatorType( CompletionStatus.COMPLETED_NO, t ) ;
  5664. }
  5665. public MARSHAL illegalUnionDiscriminatorType( ) {
  5666. return illegalUnionDiscriminatorType( CompletionStatus.COMPLETED_NO, null ) ;
  5667. }
  5668. public static final int COULD_NOT_SKIP_BYTES = SUNVMCID.value + 249 ;
  5669. public MARSHAL couldNotSkipBytes( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
  5670. MARSHAL exc = new MARSHAL( COULD_NOT_SKIP_BYTES, cs ) ;
  5671. if (t != null)
  5672. exc.initCause( t ) ;
  5673. if (logger.isLoggable( Level.WARNING )) {
  5674. Object[] parameters = new Object[2] ;
  5675. parameters[0] = arg0 ;
  5676. parameters[1] = arg1 ;
  5677. doLog( Level.WARNING, "ORBUTIL.couldNotSkipBytes",
  5678. parameters, ORBUtilSystemException.class, exc ) ;
  5679. }
  5680. return exc ;
  5681. }
  5682. public MARSHAL couldNotSkipBytes( CompletionStatus cs, Object arg0, Object arg1) {
  5683. return couldNotSkipBytes( cs, null, arg0, arg1 ) ;
  5684. }
  5685. public MARSHAL couldNotSkipBytes( Throwable t, Object arg0, Object arg1) {
  5686. return couldNotSkipBytes( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
  5687. }
  5688. public MARSHAL couldNotSkipBytes( Object arg0, Object arg1) {
  5689. return couldNotSkipBytes( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
  5690. }
  5691. public static final int BAD_CHUNK_LENGTH = SUNVMCID.value + 250 ;
  5692. public MARSHAL badChunkLength( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
  5693. MARSHAL exc = new MARSHAL( BAD_CHUNK_LENGTH, cs ) ;
  5694. if (t != null)
  5695. exc.initCause( t ) ;
  5696. if (logger.isLoggable( Level.WARNING )) {
  5697. Object[] parameters = new Object[2] ;
  5698. parameters[0] = arg0 ;
  5699. parameters[1] = arg1 ;
  5700. doLog( Level.WARNING, "ORBUTIL.badChunkLength",
  5701. parameters, ORBUtilSystemException.class, exc ) ;
  5702. }
  5703. return exc ;
  5704. }
  5705. public MARSHAL badChunkLength( CompletionStatus cs, Object arg0, Object arg1) {
  5706. return badChunkLength( cs, null, arg0, arg1 ) ;
  5707. }
  5708. public MARSHAL badChunkLength( Throwable t, Object arg0, Object arg1) {
  5709. return badChunkLength( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
  5710. }
  5711. public MARSHAL badChunkLength( Object arg0, Object arg1) {
  5712. return badChunkLength( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
  5713. }
  5714. public static final int UNABLE_TO_LOCATE_REP_ID_ARRAY = SUNVMCID.value + 251 ;
  5715. public MARSHAL unableToLocateRepIdArray( CompletionStatus cs, Throwable t, Object arg0) {
  5716. MARSHAL exc = new MARSHAL( UNABLE_TO_LOCATE_REP_ID_ARRAY, cs ) ;
  5717. if (t != null)
  5718. exc.initCause( t ) ;
  5719. if (logger.isLoggable( Level.WARNING )) {
  5720. Object[] parameters = new Object[1] ;
  5721. parameters[0] = arg0 ;
  5722. doLog( Level.WARNING, "ORBUTIL.unableToLocateRepIdArray",
  5723. parameters, ORBUtilSystemException.class, exc ) ;
  5724. }
  5725. return exc ;
  5726. }
  5727. public MARSHAL unableToLocateRepIdArray( CompletionStatus cs, Object arg0) {
  5728. return unableToLocateRepIdArray( cs, null, arg0 ) ;
  5729. }
  5730. public MARSHAL unableToLocateRepIdArray( Throwable t, Object arg0) {
  5731. return unableToLocateRepIdArray( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  5732. }
  5733. public MARSHAL unableToLocateRepIdArray( Object arg0) {
  5734. return unableToLocateRepIdArray( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  5735. }
  5736. public static final int BAD_FIXED = SUNVMCID.value + 252 ;
  5737. public MARSHAL badFixed( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
  5738. MARSHAL exc = new MARSHAL( BAD_FIXED, cs ) ;
  5739. if (t != null)
  5740. exc.initCause( t ) ;
  5741. if (logger.isLoggable( Level.WARNING )) {
  5742. Object[] parameters = new Object[2] ;
  5743. parameters[0] = arg0 ;
  5744. parameters[1] = arg1 ;
  5745. doLog( Level.WARNING, "ORBUTIL.badFixed",
  5746. parameters, ORBUtilSystemException.class, exc ) ;
  5747. }
  5748. return exc ;
  5749. }
  5750. public MARSHAL badFixed( CompletionStatus cs, Object arg0, Object arg1) {
  5751. return badFixed( cs, null, arg0, arg1 ) ;
  5752. }
  5753. public MARSHAL badFixed( Throwable t, Object arg0, Object arg1) {
  5754. return badFixed( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
  5755. }
  5756. public MARSHAL badFixed( Object arg0, Object arg1) {
  5757. return badFixed( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
  5758. }
  5759. public static final int READ_OBJECT_LOAD_CLASS_FAILURE = SUNVMCID.value + 253 ;
  5760. public MARSHAL readObjectLoadClassFailure( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
  5761. MARSHAL exc = new MARSHAL( READ_OBJECT_LOAD_CLASS_FAILURE, cs ) ;
  5762. if (t != null)
  5763. exc.initCause( t ) ;
  5764. if (logger.isLoggable( Level.WARNING )) {
  5765. Object[] parameters = new Object[2] ;
  5766. parameters[0] = arg0 ;
  5767. parameters[1] = arg1 ;
  5768. doLog( Level.WARNING, "ORBUTIL.readObjectLoadClassFailure",
  5769. parameters, ORBUtilSystemException.class, exc ) ;
  5770. }
  5771. return exc ;
  5772. }
  5773. public MARSHAL readObjectLoadClassFailure( CompletionStatus cs, Object arg0, Object arg1) {
  5774. return readObjectLoadClassFailure( cs, null, arg0, arg1 ) ;
  5775. }
  5776. public MARSHAL readObjectLoadClassFailure( Throwable t, Object arg0, Object arg1) {
  5777. return readObjectLoadClassFailure( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
  5778. }
  5779. public MARSHAL readObjectLoadClassFailure( Object arg0, Object arg1) {
  5780. return readObjectLoadClassFailure( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
  5781. }
  5782. public static final int COULD_NOT_INSTANTIATE_HELPER = SUNVMCID.value + 254 ;
  5783. public MARSHAL couldNotInstantiateHelper( CompletionStatus cs, Throwable t, Object arg0) {
  5784. MARSHAL exc = new MARSHAL( COULD_NOT_INSTANTIATE_HELPER, cs ) ;
  5785. if (t != null)
  5786. exc.initCause( t ) ;
  5787. if (logger.isLoggable( Level.WARNING )) {
  5788. Object[] parameters = new Object[1] ;
  5789. parameters[0] = arg0 ;
  5790. doLog( Level.WARNING, "ORBUTIL.couldNotInstantiateHelper",
  5791. parameters, ORBUtilSystemException.class, exc ) ;
  5792. }
  5793. return exc ;
  5794. }
  5795. public MARSHAL couldNotInstantiateHelper( CompletionStatus cs, Object arg0) {
  5796. return couldNotInstantiateHelper( cs, null, arg0 ) ;
  5797. }
  5798. public MARSHAL couldNotInstantiateHelper( Throwable t, Object arg0) {
  5799. return couldNotInstantiateHelper( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  5800. }
  5801. public MARSHAL couldNotInstantiateHelper( Object arg0) {
  5802. return couldNotInstantiateHelper( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  5803. }
  5804. public static final int BAD_TOA_OAID = SUNVMCID.value + 255 ;
  5805. public MARSHAL badToaOaid( CompletionStatus cs, Throwable t ) {
  5806. MARSHAL exc = new MARSHAL( BAD_TOA_OAID, cs ) ;
  5807. if (t != null)
  5808. exc.initCause( t ) ;
  5809. if (logger.isLoggable( Level.WARNING )) {
  5810. Object[] parameters = null ;
  5811. doLog( Level.WARNING, "ORBUTIL.badToaOaid",
  5812. parameters, ORBUtilSystemException.class, exc ) ;
  5813. }
  5814. return exc ;
  5815. }
  5816. public MARSHAL badToaOaid( CompletionStatus cs ) {
  5817. return badToaOaid( cs, null ) ;
  5818. }
  5819. public MARSHAL badToaOaid( Throwable t ) {
  5820. return badToaOaid( CompletionStatus.COMPLETED_NO, t ) ;
  5821. }
  5822. public MARSHAL badToaOaid( ) {
  5823. return badToaOaid( CompletionStatus.COMPLETED_NO, null ) ;
  5824. }
  5825. public static final int COULD_NOT_INVOKE_HELPER_READ_METHOD = SUNVMCID.value + 256 ;
  5826. public MARSHAL couldNotInvokeHelperReadMethod( CompletionStatus cs, Throwable t, Object arg0) {
  5827. MARSHAL exc = new MARSHAL( COULD_NOT_INVOKE_HELPER_READ_METHOD, cs ) ;
  5828. if (t != null)
  5829. exc.initCause( t ) ;
  5830. if (logger.isLoggable( Level.WARNING )) {
  5831. Object[] parameters = new Object[1] ;
  5832. parameters[0] = arg0 ;
  5833. doLog( Level.WARNING, "ORBUTIL.couldNotInvokeHelperReadMethod",
  5834. parameters, ORBUtilSystemException.class, exc ) ;
  5835. }
  5836. return exc ;
  5837. }
  5838. public MARSHAL couldNotInvokeHelperReadMethod( CompletionStatus cs, Object arg0) {
  5839. return couldNotInvokeHelperReadMethod( cs, null, arg0 ) ;
  5840. }
  5841. public MARSHAL couldNotInvokeHelperReadMethod( Throwable t, Object arg0) {
  5842. return couldNotInvokeHelperReadMethod( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  5843. }
  5844. public MARSHAL couldNotInvokeHelperReadMethod( Object arg0) {
  5845. return couldNotInvokeHelperReadMethod( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  5846. }
  5847. public static final int COULD_NOT_FIND_CLASS = SUNVMCID.value + 257 ;
  5848. public MARSHAL couldNotFindClass( CompletionStatus cs, Throwable t ) {
  5849. MARSHAL exc = new MARSHAL( COULD_NOT_FIND_CLASS, cs ) ;
  5850. if (t != null)
  5851. exc.initCause( t ) ;
  5852. if (logger.isLoggable( Level.WARNING )) {
  5853. Object[] parameters = null ;
  5854. doLog( Level.WARNING, "ORBUTIL.couldNotFindClass",
  5855. parameters, ORBUtilSystemException.class, exc ) ;
  5856. }
  5857. return exc ;
  5858. }
  5859. public MARSHAL couldNotFindClass( CompletionStatus cs ) {
  5860. return couldNotFindClass( cs, null ) ;
  5861. }
  5862. public MARSHAL couldNotFindClass( Throwable t ) {
  5863. return couldNotFindClass( CompletionStatus.COMPLETED_NO, t ) ;
  5864. }
  5865. public MARSHAL couldNotFindClass( ) {
  5866. return couldNotFindClass( CompletionStatus.COMPLETED_NO, null ) ;
  5867. }
  5868. public static final int BAD_ARGUMENTS_NVLIST = SUNVMCID.value + 258 ;
  5869. public MARSHAL badArgumentsNvlist( CompletionStatus cs, Throwable t ) {
  5870. MARSHAL exc = new MARSHAL( BAD_ARGUMENTS_NVLIST, cs ) ;
  5871. if (t != null)
  5872. exc.initCause( t ) ;
  5873. if (logger.isLoggable( Level.FINE )) {
  5874. Object[] parameters = null ;
  5875. doLog( Level.FINE, "ORBUTIL.badArgumentsNvlist",
  5876. parameters, ORBUtilSystemException.class, exc ) ;
  5877. }
  5878. return exc ;
  5879. }
  5880. public MARSHAL badArgumentsNvlist( CompletionStatus cs ) {
  5881. return badArgumentsNvlist( cs, null ) ;
  5882. }
  5883. public MARSHAL badArgumentsNvlist( Throwable t ) {
  5884. return badArgumentsNvlist( CompletionStatus.COMPLETED_NO, t ) ;
  5885. }
  5886. public MARSHAL badArgumentsNvlist( ) {
  5887. return badArgumentsNvlist( CompletionStatus.COMPLETED_NO, null ) ;
  5888. }
  5889. public static final int STUB_CREATE_ERROR = SUNVMCID.value + 259 ;
  5890. public MARSHAL stubCreateError( CompletionStatus cs, Throwable t ) {
  5891. MARSHAL exc = new MARSHAL( STUB_CREATE_ERROR, cs ) ;
  5892. if (t != null)
  5893. exc.initCause( t ) ;
  5894. if (logger.isLoggable( Level.FINE )) {
  5895. Object[] parameters = null ;
  5896. doLog( Level.FINE, "ORBUTIL.stubCreateError",
  5897. parameters, ORBUtilSystemException.class, exc ) ;
  5898. }
  5899. return exc ;
  5900. }
  5901. public MARSHAL stubCreateError( CompletionStatus cs ) {
  5902. return stubCreateError( cs, null ) ;
  5903. }
  5904. public MARSHAL stubCreateError( Throwable t ) {
  5905. return stubCreateError( CompletionStatus.COMPLETED_NO, t ) ;
  5906. }
  5907. public MARSHAL stubCreateError( ) {
  5908. return stubCreateError( CompletionStatus.COMPLETED_NO, null ) ;
  5909. }
  5910. public static final int JAVA_SERIALIZATION_EXCEPTION = SUNVMCID.value + 260 ;
  5911. public MARSHAL javaSerializationException( CompletionStatus cs, Throwable t, Object arg0) {
  5912. MARSHAL exc = new MARSHAL( JAVA_SERIALIZATION_EXCEPTION, cs ) ;
  5913. if (t != null)
  5914. exc.initCause( t ) ;
  5915. if (logger.isLoggable( Level.WARNING )) {
  5916. Object[] parameters = new Object[1] ;
  5917. parameters[0] = arg0 ;
  5918. doLog( Level.WARNING, "ORBUTIL.javaSerializationException",
  5919. parameters, ORBUtilSystemException.class, exc ) ;
  5920. }
  5921. return exc ;
  5922. }
  5923. public MARSHAL javaSerializationException( CompletionStatus cs, Object arg0) {
  5924. return javaSerializationException( cs, null, arg0 ) ;
  5925. }
  5926. public MARSHAL javaSerializationException( Throwable t, Object arg0) {
  5927. return javaSerializationException( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
  5928. }
  5929. public MARSHAL javaSerializationException( Object arg0) {
  5930. return javaSerializationException( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
  5931. }
  5932. ///////////////////////////////////////////////////////////
  5933. // NO_IMPLEMENT
  5934. ///////////////////////////////////////////////////////////
  5935. public static final int GENERIC_NO_IMPL = SUNVMCID.value + 201 ;
  5936. public NO_IMPLEMENT genericNoImpl( CompletionStatus cs, Throwable t ) {
  5937. NO_IMPLEMENT exc = new NO_IMPLEMENT( GENERIC_NO_IMPL, cs ) ;
  5938. if (t != null)
  5939. exc.initCause( t ) ;
  5940. if (logger.isLoggable( Level.FINE )) {
  5941. Object[] parameters = null ;
  5942. doLog( Level.FINE, "ORBUTIL.genericNoImpl",
  5943. parameters, ORBUtilSystemException.class, exc ) ;
  5944. }
  5945. return exc ;
  5946. }
  5947. public NO_IMPLEMENT genericNoImpl( CompletionStatus cs ) {
  5948. return genericNoImpl( cs, null ) ;
  5949. }
  5950. public NO_IMPLEMENT genericNoImpl( Throwable t ) {
  5951. return genericNoImpl( CompletionStatus.COMPLETED_NO, t ) ;
  5952. }
  5953. public NO_IMPLEMENT genericNoImpl( ) {
  5954. return genericNoImpl( CompletionStatus.COMPLETED_NO, null ) ;
  5955. }
  5956. public static final int CONTEXT_NOT_IMPLEMENTED = SUNVMCID.value + 202 ;
  5957. public NO_IMPLEMENT contextNotImplemented( CompletionStatus cs, Throwable t ) {
  5958. NO_IMPLEMENT exc = new NO_IMPLEMENT( CONTEXT_NOT_IMPLEMENTED, cs ) ;
  5959. if (t != null)
  5960. exc.initCause( t ) ;
  5961. if (logger.isLoggable( Level.FINE )) {
  5962. Object[] parameters = null ;
  5963. doLog( Level.FINE, "ORBUTIL.contextNotImplemented",
  5964. parameters, ORBUtilSystemException.class, exc ) ;
  5965. }
  5966. return exc ;
  5967. }
  5968. public NO_IMPLEMENT contextNotImplemented( CompletionStatus cs ) {
  5969. return contextNotImplemented( cs, null ) ;
  5970. }
  5971. public NO_IMPLEMENT contextNotImplemented( Throwable t ) {
  5972. return contextNotImplemented( CompletionStatus.COMPLETED_NO, t ) ;
  5973. }
  5974. public NO_IMPLEMENT contextNotImplemented( ) {
  5975. return contextNotImplemented( CompletionStatus.COMPLETED_NO, null ) ;
  5976. }
  5977. public static final int GETINTERFACE_NOT_IMPLEMENTED = SUNVMCID.value + 203 ;
  5978. public NO_IMPLEMENT getinterfaceNotImplemented( CompletionStatus cs, Throwable t ) {
  5979. NO_IMPLEMENT exc = new NO_IMPLEMENT( GETINTERFACE_NOT_IMPLEMENTED, cs ) ;
  5980. if (t != null)
  5981. exc.initCause( t ) ;
  5982. if (logger.isLoggable( Level.FINE )) {
  5983. Object[] parameters = null ;
  5984. doLog( Level.FINE, "ORBUTIL.getinterfaceNotImplemented",
  5985. parameters, ORBUtilSystemException.class, exc ) ;
  5986. }
  5987. return exc ;
  5988. }
  5989. public NO_IMPLEMENT getinterfaceNotImplemented( CompletionStatus cs ) {
  5990. return getinterfaceNotImplemented( cs, null ) ;
  5991. }
  5992. public NO_IMPLEMENT getinterfaceNotImplemented( Throwable t ) {
  5993. return getinterfaceNotImplemented( CompletionStatus.COMPLETED_NO, t ) ;
  5994. }
  5995. public NO_IMPLEMENT getinterfaceNotImplemented( ) {
  5996. return getinterfaceNotImplemented( CompletionStatus.COMPLETED_NO, null ) ;
  5997. }
  5998. public static final int SEND_DEFERRED_NOTIMPLEMENTED = SUNVMCID.value + 204 ;
  5999. public NO_IMPLEMENT sendDeferredNotimplemented( CompletionStatus cs, Throwable t ) {
  6000. NO_IMPLEMENT exc = new NO_IMPLEMENT( SEND_DEFERRED_NOTIMPLEMENTED, cs ) ;
  6001. if (t != null)
  6002. exc.initCause( t ) ;
  6003. if (logger.isLoggable( Level.FINE )) {
  6004. Object[] parameters = null ;
  6005. doLog( Level.FINE, "ORBUTIL.sendDeferredNotimplemented",
  6006. parameters, ORBUtilSystemException.class, exc ) ;
  6007. }
  6008. return exc ;
  6009. }
  6010. public NO_IMPLEMENT sendDeferredNotimplemented( CompletionStatus cs ) {
  6011. return sendDeferredNotimplemented( cs, null ) ;
  6012. }
  6013. public NO_IMPLEMENT sendDeferredNotimplemented( Throwable t ) {
  6014. return sendDeferredNotimplemented( CompletionStatus.COMPLETED_NO, t ) ;
  6015. }
  6016. public NO_IMPLEMENT sendDeferredNotimplemented( ) {
  6017. return sendDeferredNotimplemented( CompletionStatus.COMPLETED_NO, null ) ;
  6018. }
  6019. public static final int LONG_DOUBLE_NOT_IMPLEMENTED = SUNVMCID.value + 205 ;
  6020. public NO_IMPLEMENT longDoubleNotImplemented( CompletionStatus cs, Throwable t ) {
  6021. NO_IMPLEMENT exc = new NO_IMPLEMENT( LONG_DOUBLE_NOT_IMPLEMENTED, cs ) ;
  6022. if (t != null)
  6023. exc.initCause( t ) ;
  6024. if (logger.isLoggable( Level.FINE )) {
  6025. Object[] parameters = null ;
  6026. doLog( Level.FINE, "ORBUTIL.longDoubleNotImplemented",
  6027. parameters, ORBUtilSystemException.class, exc ) ;
  6028. }
  6029. return exc ;
  6030. }
  6031. public NO_IMPLEMENT longDoubleNotImplemented( CompletionStatus cs ) {
  6032. return longDoubleNotImplemented( cs, null ) ;
  6033. }
  6034. public NO_IMPLEMENT longDoubleNotImplemented( Throwable t ) {
  6035. return longDoubleNotImplemented( CompletionStatus.COMPLETED_NO, t ) ;
  6036. }
  6037. public NO_IMPLEMENT longDoubleNotImplemented( ) {
  6038. return longDoubleNotImplemented( CompletionStatus.COMPLETED_NO, null ) ;
  6039. }
  6040. ///////////////////////////////////////////////////////////
  6041. // OBJ_ADAPTER
  6042. ///////////////////////////////////////////////////////////
  6043. public static final int NO_SERVER_SC_IN_DISPATCH = SUNVMCID.value + 201 ;
  6044. public OBJ_ADAPTER noServerScInDispatch( CompletionStatus cs, Throwable t ) {
  6045. OBJ_ADAPTER exc = new OBJ_ADAPTER( NO_SERVER_SC_IN_DISPATCH, cs ) ;
  6046. if (t != null)
  6047. exc.initCause( t ) ;
  6048. if (logger.isLoggable( Level.WARNING )) {
  6049. Object[] parameters = null ;
  6050. doLog( Level.WARNING, "ORBUTIL.noServerScInDispatch",
  6051. parameters, ORBUtilSystemException.class, exc ) ;
  6052. }
  6053. return exc ;
  6054. }
  6055. public OBJ_ADAPTER noServerScInDispatch( CompletionStatus cs ) {
  6056. return noServerScInDispatch( cs, null ) ;
  6057. }
  6058. public OBJ_ADAPTER noServerScInDispatch( Throwable t ) {
  6059. return noServerScInDispatch( CompletionStatus.COMPLETED_NO, t ) ;
  6060. }
  6061. public OBJ_ADAPTER noServerScInDispatch( ) {
  6062. return noServerScInDispatch( CompletionStatus.COMPLETED_NO, null ) ;
  6063. }
  6064. public static final int ORB_CONNECT_ERROR = SUNVMCID.value + 202 ;
  6065. public OBJ_ADAPTER orbConnectError( CompletionStatus cs, Throwable t ) {
  6066. OBJ_ADAPTER exc = new OBJ_ADAPTER( ORB_CONNECT_ERROR, cs ) ;
  6067. if (t != null)
  6068. exc.initCause( t ) ;
  6069. if (logger.isLoggable( Level.WARNING )) {
  6070. Object[] parameters = null ;
  6071. doLog( Level.WARNING, "ORBUTIL.orbConnectError",
  6072. parameters, ORBUtilSystemException.class, exc ) ;
  6073. }
  6074. return exc ;
  6075. }
  6076. public OBJ_ADAPTER orbConnectError( CompletionStatus cs ) {
  6077. return orbConnectError( cs, null ) ;
  6078. }
  6079. public OBJ_ADAPTER orbConnectError( Throwable t ) {
  6080. return orbConnectError( CompletionStatus.COMPLETED_NO, t ) ;
  6081. }
  6082. public OBJ_ADAPTER orbConnectError( ) {
  6083. return orbConnectError( CompletionStatus.COMPLETED_NO, null ) ;
  6084. }
  6085. public static final int ADAPTER_INACTIVE_IN_ACTIVATION = SUNVMCID.value + 203 ;
  6086. public OBJ_ADAPTER adapterInactiveInActivation( CompletionStatus cs, Throwable t ) {
  6087. OBJ_ADAPTER exc = new OBJ_ADAPTER( ADAPTER_INACTIVE_IN_ACTIVATION, cs ) ;
  6088. if (t != null)
  6089. exc.initCause( t ) ;
  6090. if (logger.isLoggable( Level.FINE )) {
  6091. Object[] parameters = null ;
  6092. doLog( Level.FINE, "ORBUTIL.adapterInactiveInActivation",
  6093. parameters, ORBUtilSystemException.class, exc ) ;
  6094. }
  6095. return exc ;
  6096. }
  6097. public OBJ_ADAPTER adapterInactiveInActivation( CompletionStatus cs ) {
  6098. return adapterInactiveInActivation( cs, null ) ;
  6099. }
  6100. public OBJ_ADAPTER adapterInactiveInActivation( Throwable t ) {
  6101. return adapterInactiveInActivation( CompletionStatus.COMPLETED_NO, t ) ;
  6102. }
  6103. public OBJ_ADAPTER adapterInactiveInActivation( ) {
  6104. return adapterInactiveInActivation( CompletionStatus.COMPLETED_NO, null ) ;
  6105. }
  6106. ///////////////////////////////////////////////////////////
  6107. // OBJECT_NOT_EXIST
  6108. ///////////////////////////////////////////////////////////
  6109. public static final int LOCATE_UNKNOWN_OBJECT = SUNVMCID.value + 201 ;
  6110. public OBJECT_NOT_EXIST locateUnknownObject( CompletionStatus cs, Throwable t ) {
  6111. OBJECT_NOT_EXIST exc = new OBJECT_NOT_EXIST( LOCATE_UNKNOWN_OBJECT, cs ) ;
  6112. if (t != null)
  6113. exc.initCause( t ) ;
  6114. if (logger.isLoggable( Level.WARNING )) {
  6115. Object[] parameters = null ;
  6116. doLog( Level.WARNING, "ORBUTIL.locateUnknownObject",
  6117. parameters, ORBUtilSystemException.class, exc ) ;
  6118. }
  6119. return exc ;
  6120. }
  6121. public OBJECT_NOT_EXIST locateUnknownObject( CompletionStatus cs ) {
  6122. return locateUnknownObject( cs, null ) ;
  6123. }
  6124. public OBJECT_NOT_EXIST locateUnknownObject( Throwable t ) {
  6125. return locateUnknownObject( CompletionStatus.COMPLETED_NO, t ) ;
  6126. }
  6127. public OBJECT_NOT_EXIST locateUnknownObject( ) {
  6128. return locateUnknownObject( CompletionStatus.COMPLETED_NO, null ) ;
  6129. }
  6130. public static final int BAD_SERVER_ID = SUNVMCID.value + 202 ;
  6131. public OBJECT_NOT_EXIST badServerId( CompletionStatus cs, Throwable t ) {
  6132. OBJECT_NOT_EXIST exc = new OBJECT_NOT_EXIST( BAD_SERVER_ID, cs ) ;
  6133. if (t != null)
  6134. exc.initCause( t ) ;
  6135. if (logger.isLoggable( Level.FINE )) {
  6136. Object[] parameters = null ;
  6137. doLog( Level.FINE, "ORBUTIL.badServerId",
  6138. parameters, ORBUtilSystemException.class, exc ) ;
  6139. }
  6140. return exc ;
  6141. }
  6142. public OBJECT_NOT_EXIST badServerId( CompletionStatus cs ) {
  6143. return badServerId( cs, null ) ;
  6144. }
  6145. public OBJECT_NOT_EXIST badServerId( Throwable t ) {
  6146. return badServerId( CompletionStatus.COMPLETED_NO, t ) ;
  6147. }
  6148. public OBJECT_NOT_EXIST badServerId( ) {
  6149. return badServerId( CompletionStatus.COMPLETED_NO, null ) ;
  6150. }
  6151. public static final int BAD_SKELETON = SUNVMCID.value + 203 ;
  6152. public OBJECT_NOT_EXIST badSkeleton( CompletionStatus cs, Throwable t ) {
  6153. OBJECT_NOT_EXIST exc = new OBJECT_NOT_EXIST( BAD_SKELETON, cs ) ;
  6154. if (t != null)
  6155. exc.initCause( t ) ;
  6156. if (logger.isLoggable( Level.WARNING )) {
  6157. Object[] parameters = null ;
  6158. doLog( Level.WARNING, "ORBUTIL.badSkeleton",
  6159. parameters, ORBUtilSystemException.class, exc ) ;
  6160. }
  6161. return exc ;
  6162. }
  6163. public OBJECT_NOT_EXIST badSkeleton( CompletionStatus cs ) {
  6164. return badSkeleton( cs, null ) ;
  6165. }
  6166. public OBJECT_NOT_EXIST badSkeleton( Throwable t ) {
  6167. return badSkeleton( CompletionStatus.COMPLETED_NO, t ) ;
  6168. }
  6169. public OBJECT_NOT_EXIST badSkeleton( ) {
  6170. return badSkeleton( CompletionStatus.COMPLETED_NO, null ) ;
  6171. }
  6172. public static final int SERVANT_NOT_FOUND = SUNVMCID.value + 204 ;
  6173. public OBJECT_NOT_EXIST servantNotFound( CompletionStatus cs, Throwable t ) {
  6174. OBJECT_NOT_EXIST exc = new OBJECT_NOT_EXIST( SERVANT_NOT_FOUND, cs ) ;
  6175. if (t != null)
  6176. exc.initCause( t ) ;
  6177. if (logger.isLoggable( Level.WARNING )) {
  6178. Object[] parameters = null ;
  6179. doLog( Level.WARNING, "ORBUTIL.servantNotFound",
  6180. parameters, ORBUtilSystemException.class, exc ) ;
  6181. }
  6182. return exc ;
  6183. }
  6184. public OBJECT_NOT_EXIST servantNotFound( CompletionStatus cs ) {
  6185. return servantNotFound( cs, null ) ;
  6186. }
  6187. public OBJECT_NOT_EXIST servantNotFound( Throwable t ) {
  6188. return servantNotFound( CompletionStatus.COMPLETED_NO, t ) ;
  6189. }
  6190. public OBJECT_NOT_EXIST servantNotFound( ) {
  6191. return servantNotFound( CompletionStatus.COMPLETED_NO, null ) ;
  6192. }
  6193. public static final int NO_OBJECT_ADAPTER_FACTORY = SUNVMCID.value + 205 ;
  6194. public OBJECT_NOT_EXIST noObjectAdapterFactory( CompletionStatus cs, Throwable t ) {
  6195. OBJECT_NOT_EXIST exc = new OBJECT_NOT_EXIST( NO_OBJECT_ADAPTER_FACTORY, cs ) ;
  6196. if (t != null)
  6197. exc.initCause( t ) ;
  6198. if (logger.isLoggable( Level.WARNING )) {
  6199. Object[] parameters = null ;
  6200. doLog( Level.WARNING, "ORBUTIL.noObjectAdapterFactory",
  6201. parameters, ORBUtilSystemException.class, exc ) ;
  6202. }
  6203. return exc ;
  6204. }
  6205. public OBJECT_NOT_EXIST noObjectAdapterFactory( CompletionStatus cs ) {
  6206. return noObjectAdapterFactory( cs, null ) ;
  6207. }
  6208. public OBJECT_NOT_EXIST noObjectAdapterFactory( Throwable t ) {
  6209. return noObjectAdapterFactory( CompletionStatus.COMPLETED_NO, t ) ;
  6210. }
  6211. public OBJECT_NOT_EXIST noObjectAdapterFactory( ) {
  6212. return noObjectAdapterFactory( CompletionStatus.COMPLETED_NO, null ) ;
  6213. }
  6214. public static final int BAD_ADAPTER_ID = SUNVMCID.value + 206 ;
  6215. public OBJECT_NOT_EXIST badAdapterId( CompletionStatus cs, Throwable t ) {
  6216. OBJECT_NOT_EXIST exc = new OBJECT_NOT_EXIST( BAD_ADAPTER_ID, cs ) ;
  6217. if (t != null)
  6218. exc.initCause( t ) ;
  6219. if (logger.isLoggable( Level.WARNING )) {
  6220. Object[] parameters = null ;
  6221. doLog( Level.WARNING, "ORBUTIL.badAdapterId",
  6222. parameters, ORBUtilSystemException.class, exc ) ;
  6223. }
  6224. return exc ;
  6225. }
  6226. public OBJECT_NOT_EXIST badAdapterId( CompletionStatus cs ) {
  6227. return badAdapterId( cs, null ) ;
  6228. }
  6229. public OBJECT_NOT_EXIST badAdapterId( Throwable t ) {
  6230. return badAdapterId( CompletionStatus.COMPLETED_NO, t ) ;
  6231. }
  6232. public OBJECT_NOT_EXIST badAdapterId( ) {
  6233. return badAdapterId( CompletionStatus.COMPLETED_NO, null ) ;
  6234. }
  6235. public static final int DYN_ANY_DESTROYED = SUNVMCID.value + 207 ;
  6236. public OBJECT_NOT_EXIST dynAnyDestroyed( CompletionStatus cs, Throwable t ) {
  6237. OBJECT_NOT_EXIST exc = new OBJECT_NOT_EXIST( DYN_ANY_DESTROYED, cs ) ;
  6238. if (t != null)
  6239. exc.initCause( t ) ;
  6240. if (logger.isLoggable( Level.WARNING )) {
  6241. Object[] parameters = null ;
  6242. doLog( Level.WARNING, "ORBUTIL.dynAnyDestroyed",
  6243. parameters, ORBUtilSystemException.class, exc ) ;
  6244. }
  6245. return exc ;
  6246. }
  6247. public OBJECT_NOT_EXIST dynAnyDestroyed( CompletionStatus cs ) {
  6248. return dynAnyDestroyed( cs, null ) ;
  6249. }
  6250. public OBJECT_NOT_EXIST dynAnyDestroyed( Throwable t ) {
  6251. return dynAnyDestroyed( CompletionStatus.COMPLETED_NO, t ) ;
  6252. }
  6253. public OBJECT_NOT_EXIST dynAnyDestroyed( ) {
  6254. return dynAnyDestroyed( CompletionStatus.COMPLETED_NO, null ) ;
  6255. }
  6256. ///////////////////////////////////////////////////////////
  6257. // TRANSIENT
  6258. ///////////////////////////////////////////////////////////
  6259. public static final int REQUEST_CANCELED = SUNVMCID.value + 201 ;
  6260. public TRANSIENT requestCanceled( CompletionStatus cs, Throwable t ) {
  6261. TRANSIENT exc = new TRANSIENT( REQUEST_CANCELED, cs ) ;
  6262. if (t != null)
  6263. exc.initCause( t ) ;
  6264. if (logger.isLoggable( Level.WARNING )) {
  6265. Object[] parameters = null ;
  6266. doLog( Level.WARNING, "ORBUTIL.requestCanceled",
  6267. parameters, ORBUtilSystemException.class, exc ) ;
  6268. }
  6269. return exc ;
  6270. }
  6271. public TRANSIENT requestCanceled( CompletionStatus cs ) {
  6272. return requestCanceled( cs, null ) ;
  6273. }
  6274. public TRANSIENT requestCanceled( Throwable t ) {
  6275. return requestCanceled( CompletionStatus.COMPLETED_NO, t ) ;
  6276. }
  6277. public TRANSIENT requestCanceled( ) {
  6278. return requestCanceled( CompletionStatus.COMPLETED_NO, null ) ;
  6279. }
  6280. ///////////////////////////////////////////////////////////
  6281. // UNKNOWN
  6282. ///////////////////////////////////////////////////////////
  6283. public static final int UNKNOWN_CORBA_EXC = SUNVMCID.value + 201 ;
  6284. public UNKNOWN unknownCorbaExc( CompletionStatus cs, Throwable t ) {
  6285. UNKNOWN exc = new UNKNOWN( UNKNOWN_CORBA_EXC, cs ) ;
  6286. if (t != null)
  6287. exc.initCause( t ) ;
  6288. if (logger.isLoggable( Level.WARNING )) {
  6289. Object[] parameters = null ;
  6290. doLog( Level.WARNING, "ORBUTIL.unknownCorbaExc",
  6291. parameters, ORBUtilSystemException.class, exc ) ;
  6292. }
  6293. return exc ;
  6294. }
  6295. public UNKNOWN unknownCorbaExc( CompletionStatus cs ) {
  6296. return unknownCorbaExc( cs, null ) ;
  6297. }
  6298. public UNKNOWN unknownCorbaExc( Throwable t ) {
  6299. return unknownCorbaExc( CompletionStatus.COMPLETED_NO, t ) ;
  6300. }
  6301. public UNKNOWN unknownCorbaExc( ) {
  6302. return unknownCorbaExc( CompletionStatus.COMPLETED_NO, null ) ;
  6303. }
  6304. public static final int RUNTIMEEXCEPTION = SUNVMCID.value + 202 ;
  6305. public UNKNOWN runtimeexception( CompletionStatus cs, Throwable t ) {
  6306. UNKNOWN exc = new UNKNOWN( RUNTIMEEXCEPTION, cs ) ;
  6307. if (t != null)
  6308. exc.initCause( t ) ;
  6309. if (logger.isLoggable( Level.WARNING )) {
  6310. Object[] parameters = null ;
  6311. doLog( Level.WARNING, "ORBUTIL.runtimeexception",
  6312. parameters, ORBUtilSystemException.class, exc ) ;
  6313. }
  6314. return exc ;
  6315. }
  6316. public UNKNOWN runtimeexception( CompletionStatus cs ) {
  6317. return runtimeexception( cs, null ) ;
  6318. }
  6319. public UNKNOWN runtimeexception( Throwable t ) {
  6320. return runtimeexception( CompletionStatus.COMPLETED_NO, t ) ;
  6321. }
  6322. public UNKNOWN runtimeexception( ) {
  6323. return runtimeexception( CompletionStatus.COMPLETED_NO, null ) ;
  6324. }
  6325. public static final int UNKNOWN_SERVER_ERROR = SUNVMCID.value + 203 ;
  6326. public UNKNOWN unknownServerError( CompletionStatus cs, Throwable t ) {
  6327. UNKNOWN exc = new UNKNOWN( UNKNOWN_SERVER_ERROR, cs ) ;
  6328. if (t != null)
  6329. exc.initCause( t ) ;
  6330. if (logger.isLoggable( Level.WARNING )) {
  6331. Object[] parameters = null ;
  6332. doLog( Level.WARNING, "ORBUTIL.unknownServerError",
  6333. parameters, ORBUtilSystemException.class, exc ) ;
  6334. }
  6335. return exc ;
  6336. }
  6337. public UNKNOWN unknownServerError( CompletionStatus cs ) {
  6338. return unknownServerError( cs, null ) ;
  6339. }
  6340. public UNKNOWN unknownServerError( Throwable t ) {
  6341. return unknownServerError( CompletionStatus.COMPLETED_NO, t ) ;
  6342. }
  6343. public UNKNOWN unknownServerError( ) {
  6344. return unknownServerError( CompletionStatus.COMPLETED_NO, null ) ;
  6345. }
  6346. public static final int UNKNOWN_DSI_SYSEX = SUNVMCID.value + 204 ;
  6347. public UNKNOWN unknownDsiSysex( CompletionStatus cs, Throwable t ) {
  6348. UNKNOWN exc = new UNKNOWN( UNKNOWN_DSI_SYSEX, cs ) ;
  6349. if (t != null)
  6350. exc.initCause( t ) ;
  6351. if (logger.isLoggable( Level.WARNING )) {
  6352. Object[] parameters = null ;
  6353. doLog( Level.WARNING, "ORBUTIL.unknownDsiSysex",
  6354. parameters, ORBUtilSystemException.class, exc ) ;
  6355. }
  6356. return exc ;
  6357. }
  6358. public UNKNOWN unknownDsiSysex( CompletionStatus cs ) {
  6359. return unknownDsiSysex( cs, null ) ;
  6360. }
  6361. public UNKNOWN unknownDsiSysex( Throwable t ) {
  6362. return unknownDsiSysex( CompletionStatus.COMPLETED_NO, t ) ;
  6363. }
  6364. public UNKNOWN unknownDsiSysex( ) {
  6365. return unknownDsiSysex( CompletionStatus.COMPLETED_NO, null ) ;
  6366. }
  6367. public static final int UNKNOWN_SYSEX = SUNVMCID.value + 205 ;
  6368. public UNKNOWN unknownSysex( CompletionStatus cs, Throwable t ) {
  6369. UNKNOWN exc = new UNKNOWN( UNKNOWN_SYSEX, cs ) ;
  6370. if (t != null)
  6371. exc.initCause( t ) ;
  6372. if (logger.isLoggable( Level.WARNING )) {
  6373. Object[] parameters = null ;
  6374. doLog( Level.WARNING, "ORBUTIL.unknownSysex",
  6375. parameters, ORBUtilSystemException.class, exc ) ;
  6376. }
  6377. return exc ;
  6378. }
  6379. public UNKNOWN unknownSysex( CompletionStatus cs ) {
  6380. return unknownSysex( cs, null ) ;
  6381. }
  6382. public UNKNOWN unknownSysex( Throwable t ) {
  6383. return unknownSysex( CompletionStatus.COMPLETED_NO, t ) ;
  6384. }
  6385. public UNKNOWN unknownSysex( ) {
  6386. return unknownSysex( CompletionStatus.COMPLETED_NO, null ) ;
  6387. }
  6388. public static final int WRONG_INTERFACE_DEF = SUNVMCID.value + 206 ;
  6389. public UNKNOWN wrongInterfaceDef( CompletionStatus cs, Throwable t ) {
  6390. UNKNOWN exc = new UNKNOWN( WRONG_INTERFACE_DEF, cs ) ;
  6391. if (t != null)
  6392. exc.initCause( t ) ;
  6393. if (logger.isLoggable( Level.WARNING )) {
  6394. Object[] parameters = null ;
  6395. doLog( Level.WARNING, "ORBUTIL.wrongInterfaceDef",
  6396. parameters, ORBUtilSystemException.class, exc ) ;
  6397. }
  6398. return exc ;
  6399. }
  6400. public UNKNOWN wrongInterfaceDef( CompletionStatus cs ) {
  6401. return wrongInterfaceDef( cs, null ) ;
  6402. }
  6403. public UNKNOWN wrongInterfaceDef( Throwable t ) {
  6404. return wrongInterfaceDef( CompletionStatus.COMPLETED_NO, t ) ;
  6405. }
  6406. public UNKNOWN wrongInterfaceDef( ) {
  6407. return wrongInterfaceDef( CompletionStatus.COMPLETED_NO, null ) ;
  6408. }
  6409. public static final int NO_INTERFACE_DEF_STUB = SUNVMCID.value + 207 ;
  6410. public UNKNOWN noInterfaceDefStub( CompletionStatus cs, Throwable t ) {
  6411. UNKNOWN exc = new UNKNOWN( NO_INTERFACE_DEF_STUB, cs ) ;
  6412. if (t != null)
  6413. exc.initCause( t ) ;
  6414. if (logger.isLoggable( Level.WARNING )) {
  6415. Object[] parameters = null ;
  6416. doLog( Level.WARNING, "ORBUTIL.noInterfaceDefStub",
  6417. parameters, ORBUtilSystemException.class, exc ) ;
  6418. }
  6419. return exc ;
  6420. }
  6421. public UNKNOWN noInterfaceDefStub( CompletionStatus cs ) {
  6422. return noInterfaceDefStub( cs, null ) ;
  6423. }
  6424. public UNKNOWN noInterfaceDefStub( Throwable t ) {
  6425. return noInterfaceDefStub( CompletionStatus.COMPLETED_NO, t ) ;
  6426. }
  6427. public UNKNOWN noInterfaceDefStub( ) {
  6428. return noInterfaceDefStub( CompletionStatus.COMPLETED_NO, null ) ;
  6429. }
  6430. public static final int UNKNOWN_EXCEPTION_IN_DISPATCH = SUNVMCID.value + 209 ;
  6431. public UNKNOWN unknownExceptionInDispatch( CompletionStatus cs, Throwable t ) {
  6432. UNKNOWN exc = new UNKNOWN( UNKNOWN_EXCEPTION_IN_DISPATCH, cs ) ;
  6433. if (t != null)
  6434. exc.initCause( t ) ;
  6435. if (logger.isLoggable( Level.FINE )) {
  6436. Object[] parameters = null ;
  6437. doLog( Level.FINE, "ORBUTIL.unknownExceptionInDispatch",
  6438. parameters, ORBUtilSystemException.class, exc ) ;
  6439. }
  6440. return exc ;
  6441. }
  6442. public UNKNOWN unknownExceptionInDispatch( CompletionStatus cs ) {
  6443. return unknownExceptionInDispatch( cs, null ) ;
  6444. }
  6445. public UNKNOWN unknownExceptionInDispatch( Throwable t ) {
  6446. return unknownExceptionInDispatch( CompletionStatus.COMPLETED_NO, t ) ;
  6447. }
  6448. public UNKNOWN unknownExceptionInDispatch( ) {
  6449. return unknownExceptionInDispatch( CompletionStatus.COMPLETED_NO, null ) ;
  6450. }
  6451. }