Package org.omg.CORBA

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


    public static final int INVALID_REQUEST_PARTITIONING_POLICY_VALUE = SUNVMCID.value + 224 ;
   
    public BAD_PARAM invalidRequestPartitioningPolicyValue( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
        BAD_PARAM exc = new BAD_PARAM( INVALID_REQUEST_PARTITIONING_POLICY_VALUE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[3] ;
            parameters[0] = arg0 ;
            parameters[1] = arg1 ;
View Full Code Here


    public static final int INVALID_REQUEST_PARTITIONING_COMPONENT_VALUE = SUNVMCID.value + 225 ;
   
    public BAD_PARAM invalidRequestPartitioningComponentValue( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
        BAD_PARAM exc = new BAD_PARAM( INVALID_REQUEST_PARTITIONING_COMPONENT_VALUE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[3] ;
            parameters[0] = arg0 ;
            parameters[1] = arg1 ;
View Full Code Here

    public static final int INVALID_REQUEST_PARTITIONING_ID = SUNVMCID.value + 226 ;
   
    public BAD_PARAM invalidRequestPartitioningId( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
        BAD_PARAM exc = new BAD_PARAM( INVALID_REQUEST_PARTITIONING_ID, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[3] ;
            parameters[0] = arg0 ;
            parameters[1] = arg1 ;
View Full Code Here

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

    public static final int BAD_TRANSACTION_CONTEXT = SUNVMCID.value + 1001 ;
   
    public BAD_PARAM badTransactionContext( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( BAD_TRANSACTION_CONTEXT, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "POA.badTransactionContext",
                parameters, POASystemException.class, exc ) ;
View Full Code Here

    public static final int BAD_REPOSITORY_ID = SUNVMCID.value + 1002 ;
   
    public BAD_PARAM badRepositoryId( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( BAD_REPOSITORY_ID, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "POA.badRepositoryId",
                parameters, POASystemException.class, exc ) ;
View Full Code Here

   
    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 TRANSIENT_NAME_SERVER_BAD_PORT = SUNVMCID.value + 600 ;
   
    public BAD_PARAM transientNameServerBadPort( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( TRANSIENT_NAME_SERVER_BAD_PORT, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.transientNameServerBadPort",
                parameters, NamingSystemException.class, exc ) ;
View Full Code Here

    public static final int TRANSIENT_NAME_SERVER_BAD_HOST = SUNVMCID.value + 601 ;
   
    public BAD_PARAM transientNameServerBadHost( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( TRANSIENT_NAME_SERVER_BAD_HOST, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.transientNameServerBadHost",
                parameters, NamingSystemException.class, exc ) ;
View Full Code Here

    public static final int OBJECT_IS_NULL = SUNVMCID.value + 602 ;
   
    public BAD_PARAM objectIsNull( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( OBJECT_IS_NULL, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.objectIsNull",
                parameters, NamingSystemException.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.