Package org.omg.CORBA

Examples of org.omg.CORBA.BAD_PARAM.initCause()


    private void throwBadParam( String msg, Throwable exc )
    {
        BAD_PARAM error = new BAD_PARAM( msg ) ;
        if (exc != null)
            error.initCause( exc ) ;
        throw error ;
    }

    public ServiceContextData( Class cls )
    {
View Full Code Here


    public static final int INVALID_SERVICE_CONTEXT_ID = OMGVMCID.value + 26 ;
   
    public BAD_PARAM invalidServiceContextId( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( INVALID_SERVICE_CONTEXT_ID, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.FINE )) {
            Object[] parameters = null ;
            doLog( Level.FINE, "OMG.invalidServiceContextId",
                parameters, OMGSystemException.class, exc ) ;
View Full Code Here

    public static final int RIR_WITH_NULL_OBJECT = OMGVMCID.value + 27 ;
   
    public BAD_PARAM rirWithNullObject( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( RIR_WITH_NULL_OBJECT, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.rirWithNullObject",
                parameters, OMGSystemException.class, exc ) ;
View Full Code Here

    public static final int INVALID_COMPONENT_ID = OMGVMCID.value + 28 ;
   
    public BAD_PARAM invalidComponentId( CompletionStatus cs, Throwable t, Object arg0) {
        BAD_PARAM exc = new BAD_PARAM( INVALID_COMPONENT_ID, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.FINE )) {
            Object[] parameters = new Object[1] ;
            parameters[0] = arg0 ;
            doLog( Level.FINE, "OMG.invalidComponentId",
View Full Code Here

    public static final int INVALID_PROFILE_ID = OMGVMCID.value + 29 ;
   
    public BAD_PARAM invalidProfileId( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( INVALID_PROFILE_ID, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.invalidProfileId",
                parameters, OMGSystemException.class, exc ) ;
View Full Code Here

    public static final int POLICY_TYPE_DUPLICATE = OMGVMCID.value + 30 ;
   
    public BAD_PARAM policyTypeDuplicate( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( POLICY_TYPE_DUPLICATE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.policyTypeDuplicate",
                parameters, OMGSystemException.class, exc ) ;
View Full Code Here

    public static final int BAD_ONEWAY_DEFINITION = OMGVMCID.value + 31 ;
   
    public BAD_PARAM badOnewayDefinition( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( BAD_ONEWAY_DEFINITION, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.badOnewayDefinition",
                parameters, OMGSystemException.class, exc ) ;
View Full Code Here

    public static final int DII_FOR_IMPLICIT_OPERATION = OMGVMCID.value + 32 ;
   
    public BAD_PARAM diiForImplicitOperation( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( DII_FOR_IMPLICIT_OPERATION, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.diiForImplicitOperation",
                parameters, OMGSystemException.class, exc ) ;
View Full Code Here

    public static final int XA_CALL_INVAL = OMGVMCID.value + 33 ;
   
    public BAD_PARAM xaCallInval( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( XA_CALL_INVAL, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.xaCallInval",
                parameters, OMGSystemException.class, exc ) ;
View Full Code Here

    public static final int UNION_BAD_DISCRIMINATOR = OMGVMCID.value + 34 ;
   
    public BAD_PARAM unionBadDiscriminator( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( UNION_BAD_DISCRIMINATOR, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.unionBadDiscriminator",
                parameters, OMGSystemException.class, exc ) ;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.