Java Code Examples for org.omg.CORBA.INTERNAL#initCause()
The following examples show how to use
org.omg.CORBA.INTERNAL#initCause() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ActivationSystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL serverNotExpectedToRegister( CompletionStatus cs, Throwable t ) { INTERNAL exc = new INTERNAL( SERVER_NOT_EXPECTED_TO_REGISTER, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = null ; doLog( Level.WARNING, "ACTIVATION.serverNotExpectedToRegister", parameters, ActivationSystemException.class, exc ) ; } return exc ; }
Example 2
Source File: POASystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL duplicateOrbVersionSc( CompletionStatus cs, Throwable t ) { INTERNAL exc = new INTERNAL( DUPLICATE_ORB_VERSION_SC, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = null ; doLog( Level.WARNING, "POA.duplicateOrbVersionSc", parameters, POASystemException.class, exc ) ; } return exc ; }
Example 3
Source File: NamingSystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL insOther( CompletionStatus cs, Throwable t ) { INTERNAL exc = new INTERNAL( INS_OTHER, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = null ; doLog( Level.WARNING, "NAMING.insOther", parameters, NamingSystemException.class, exc ) ; } return exc ; }
Example 4
Source File: NamingSystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL insBadSchemeSpecificPart( CompletionStatus cs, Throwable t ) { INTERNAL exc = new INTERNAL( INS_BAD_SCHEME_SPECIFIC_PART, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = null ; doLog( Level.WARNING, "NAMING.insBadSchemeSpecificPart", parameters, NamingSystemException.class, exc ) ; } return exc ; }
Example 5
Source File: NamingSystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL insBadSchemeName( CompletionStatus cs, Throwable t ) { INTERNAL exc = new INTERNAL( INS_BAD_SCHEME_NAME, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = null ; doLog( Level.WARNING, "NAMING.insBadSchemeName", parameters, NamingSystemException.class, exc ) ; } return exc ; }
Example 6
Source File: OMGSystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL xaRmerr( CompletionStatus cs, Throwable t ) { INTERNAL exc = new INTERNAL( XA_RMERR, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = null ; doLog( Level.WARNING, "OMG.xaRmerr", parameters, OMGSystemException.class, exc ) ; } return exc ; }
Example 7
Source File: OMGSystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL xaRmfail( CompletionStatus cs, Throwable t ) { INTERNAL exc = new INTERNAL( XA_RMFAIL, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = null ; doLog( Level.WARNING, "OMG.xaRmfail", parameters, OMGSystemException.class, exc ) ; } return exc ; }
Example 8
Source File: POASystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL policyMediatorBadPolicyInFactory( CompletionStatus cs, Throwable t ) { INTERNAL exc = new INTERNAL( POLICY_MEDIATOR_BAD_POLICY_IN_FACTORY, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = null ; doLog( Level.WARNING, "POA.policyMediatorBadPolicyInFactory", parameters, POASystemException.class, exc ) ; } return exc ; }
Example 9
Source File: UtilSystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL classNotFound( CompletionStatus cs, Throwable t, Object arg0) { INTERNAL exc = new INTERNAL( CLASS_NOT_FOUND, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = new Object[1] ; parameters[0] = arg0 ; doLog( Level.WARNING, "UTIL.classNotFound", parameters, UtilSystemException.class, exc ) ; } return exc ; }
Example 10
Source File: NamingSystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL namingCtxBindingIteratorCreate( CompletionStatus cs, Throwable t ) { INTERNAL exc = new INTERNAL( NAMING_CTX_BINDING_ITERATOR_CREATE, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = null ; doLog( Level.WARNING, "NAMING.namingCtxBindingIteratorCreate", parameters, NamingSystemException.class, exc ) ; } return exc ; }
Example 11
Source File: POASystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL servantMustBeLocal( CompletionStatus cs, Throwable t ) { INTERNAL exc = new INTERNAL( SERVANT_MUST_BE_LOCAL, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = null ; doLog( Level.WARNING, "POA.servantMustBeLocal", parameters, POASystemException.class, exc ) ; } return exc ; }
Example 12
Source File: POASystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL makeFactoryNotPoa( CompletionStatus cs, Throwable t, Object arg0) { INTERNAL exc = new INTERNAL( MAKE_FACTORY_NOT_POA, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = new Object[1] ; parameters[0] = arg0 ; doLog( Level.WARNING, "POA.makeFactoryNotPoa", parameters, POASystemException.class, exc ) ; } return exc ; }
Example 13
Source File: NamingSystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL namingCtxRebindctxAlreadyBound( CompletionStatus cs, Throwable t ) { INTERNAL exc = new INTERNAL( NAMING_CTX_REBINDCTX_ALREADY_BOUND, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = null ; doLog( Level.WARNING, "NAMING.namingCtxRebindctxAlreadyBound", parameters, NamingSystemException.class, exc ) ; } return exc ; }
Example 14
Source File: InterceptorsSystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL exceptionUnavailable( CompletionStatus cs, Throwable t ) { INTERNAL exc = new INTERNAL( EXCEPTION_UNAVAILABLE, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = null ; doLog( Level.WARNING, "INTERCEPTORS.exceptionUnavailable", parameters, InterceptorsSystemException.class, exc ) ; } return exc ; }
Example 15
Source File: UtilSystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL badBeginUnmarshalCustomValue( CompletionStatus cs, Throwable t ) { INTERNAL exc = new INTERNAL( BAD_BEGIN_UNMARSHAL_CUSTOM_VALUE, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = null ; doLog( Level.WARNING, "UTIL.badBeginUnmarshalCustomValue", parameters, UtilSystemException.class, exc ) ; } return exc ; }
Example 16
Source File: InterceptorsSystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL serverInfoStackNull( CompletionStatus cs, Throwable t ) { INTERNAL exc = new INTERNAL( SERVER_INFO_STACK_NULL, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = null ; doLog( Level.WARNING, "INTERCEPTORS.serverInfoStackNull", parameters, InterceptorsSystemException.class, exc ) ; } return exc ; }
Example 17
Source File: IORSystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL taggedProfileTemplateFactoryNotFound( CompletionStatus cs, Throwable t, Object arg0) { INTERNAL exc = new INTERNAL( TAGGED_PROFILE_TEMPLATE_FACTORY_NOT_FOUND, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = new Object[1] ; parameters[0] = arg0 ; doLog( Level.WARNING, "IOR.taggedProfileTemplateFactoryNotFound", parameters, IORSystemException.class, exc ) ; } return exc ; }
Example 18
Source File: InterceptorsSystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL slotTableInvariant( CompletionStatus cs, Throwable t, Object arg0, Object arg1) { INTERNAL exc = new INTERNAL( SLOT_TABLE_INVARIANT, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = new Object[2] ; parameters[0] = arg0 ; parameters[1] = arg1 ; doLog( Level.WARNING, "INTERCEPTORS.slotTableInvariant", parameters, InterceptorsSystemException.class, exc ) ; } return exc ; }
Example 19
Source File: IORSystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL badMagic( CompletionStatus cs, Throwable t, Object arg0) { INTERNAL exc = new INTERNAL( BAD_MAGIC, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = new Object[1] ; parameters[0] = arg0 ; doLog( Level.WARNING, "IOR.badMagic", parameters, IORSystemException.class, exc ) ; } return exc ; }
Example 20
Source File: IORSystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public INTERNAL nullPoa( CompletionStatus cs, Throwable t ) { INTERNAL exc = new INTERNAL( NULL_POA, cs ) ; if (t != null) exc.initCause( t ) ; if (logger.isLoggable( Level.WARNING )) { Object[] parameters = null ; doLog( Level.WARNING, "IOR.nullPoa", parameters, IORSystemException.class, exc ) ; } return exc ; }