Java Code Examples for org.omg.CORBA.portable.UnknownException

The following are top voted examples for showing how to use org.omg.CORBA.portable.UnknownException. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: openjdk9   File: CorbaMessageMediatorImpl.java   View source code 5 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
    CorbaMessageMediator messageMediator, UnknownException ex)
{
    // NOTE: This service context container gets augmented in
    // tail call.
    ServiceContexts contexts = null;
    SystemException sys = new UNKNOWN( 0,
        CompletionStatus.COMPLETED_MAYBE);
    contexts = new ServiceContexts( (ORB)messageMediator.getBroker() );
    UEInfoServiceContext uei = new UEInfoServiceContext(sys);
    contexts.put( uei ) ;
    return createSystemExceptionResponse(messageMediator, sys, contexts);
}
 
Example 2
Project: lookaside_java-1.8.0-openjdk   File: CorbaMessageMediatorImpl.java   View source code 5 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
    CorbaMessageMediator messageMediator, UnknownException ex)
{
    // NOTE: This service context container gets augmented in
    // tail call.
    ServiceContexts contexts = null;
    SystemException sys = new UNKNOWN( 0,
        CompletionStatus.COMPLETED_MAYBE);
    contexts = new ServiceContexts( (ORB)messageMediator.getBroker() );
    UEInfoServiceContext uei = new UEInfoServiceContext(sys);
    contexts.put( uei ) ;
    return createSystemExceptionResponse(messageMediator, sys, contexts);
}
 
Example 3
Project: jdk8u_corba   File: CorbaMessageMediatorImpl.java   View source code 5 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
    CorbaMessageMediator messageMediator, UnknownException ex)
{
    // NOTE: This service context container gets augmented in
    // tail call.
    ServiceContexts contexts = null;
    SystemException sys = new UNKNOWN( 0,
        CompletionStatus.COMPLETED_MAYBE);
    contexts = new ServiceContexts( (ORB)messageMediator.getBroker() );
    UEInfoServiceContext uei = new UEInfoServiceContext(sys);
    contexts.put( uei ) ;
    return createSystemExceptionResponse(messageMediator, sys, contexts);
}
 
Example 4
Project: bingexcel   File: AbstractWriteHandler.java   View source code 5 votes vote down vote up
public AbstractWriteHandler(Workbook wb, String path) {
	this.wb = wb;
	File f = FileCreateUtils.createFile(path);
	try {
		os = new FileOutputStream(f);
	} catch (FileNotFoundException e) {
		// system bug
		f.deleteOnExit();
		throw new UnknownException(e);
	}

}
 
Example 5
Project: infobip-open-jdk-8   File: CorbaMessageMediatorImpl.java   View source code 5 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
    CorbaMessageMediator messageMediator, UnknownException ex)
{
    // NOTE: This service context container gets augmented in
    // tail call.
    ServiceContexts contexts = null;
    SystemException sys = new UNKNOWN( 0,
        CompletionStatus.COMPLETED_MAYBE);
    contexts = new ServiceContexts( (ORB)messageMediator.getBroker() );
    UEInfoServiceContext uei = new UEInfoServiceContext(sys);
    contexts.put( uei ) ;
    return createSystemExceptionResponse(messageMediator, sys, contexts);
}
 
Example 6
Project: openjdk-source-code-learn   File: CorbaMessageMediatorImpl.java   View source code 5 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
    CorbaMessageMediator messageMediator, UnknownException ex)
{
    // NOTE: This service context container gets augmented in
    // tail call.
    ServiceContexts contexts = null;
    SystemException sys = new UNKNOWN( 0,
        CompletionStatus.COMPLETED_MAYBE);
    contexts = new ServiceContexts( (ORB)messageMediator.getBroker() );
    UEInfoServiceContext uei = new UEInfoServiceContext(sys);
    contexts.put( uei ) ;
    return createSystemExceptionResponse(messageMediator, sys, contexts);
}
 
Example 7
Project: OLD-OpenJDK8   File: CorbaMessageMediatorImpl.java   View source code 5 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
    CorbaMessageMediator messageMediator, UnknownException ex)
{
    // NOTE: This service context container gets augmented in
    // tail call.
    ServiceContexts contexts = null;
    SystemException sys = new UNKNOWN( 0,
        CompletionStatus.COMPLETED_MAYBE);
    contexts = new ServiceContexts( (ORB)messageMediator.getBroker() );
    UEInfoServiceContext uei = new UEInfoServiceContext(sys);
    contexts.put( uei ) ;
    return createSystemExceptionResponse(messageMediator, sys, contexts);
}
 
Example 8
Project: openjdk-orb   File: CorbaMessageMediatorImpl.java   View source code 5 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
    CorbaMessageMediator messageMediator, UnknownException ex)
{
    // NOTE: This service context container gets augmented in
    // tail call.
    ServiceContexts contexts = null;
    SystemException sys = new UNKNOWN( 0,
        CompletionStatus.COMPLETED_MAYBE);
    contexts = new ServiceContexts( (ORB)messageMediator.getBroker() );
    UEInfoServiceContext uei = new UEInfoServiceContext(sys);
    contexts.put( uei ) ;
    return createSystemExceptionResponse(messageMediator, sys, contexts);
}
 
Example 9
Project: openjdk-icedtea7   File: CorbaMessageMediatorImpl.java   View source code 5 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
    CorbaMessageMediator messageMediator, UnknownException ex)
{
    // NOTE: This service context container gets augmented in
    // tail call.
    ServiceContexts contexts = null;
    SystemException sys = new UNKNOWN( 0,
        CompletionStatus.COMPLETED_MAYBE);
    contexts = new ServiceContexts( (ORB)messageMediator.getBroker() );
    UEInfoServiceContext uei = new UEInfoServiceContext(sys);
    contexts.put( uei ) ;
    return createSystemExceptionResponse(messageMediator, sys, contexts);
}
 
Example 10
Project: OpenJSharp   File: CorbaProtocolHandler.java   View source code 4 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
CorbaMessageMediator messageMediator,
UnknownException ex);
 
Example 11
Project: openjdk-jdk10   File: CorbaProtocolHandler.java   View source code 4 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
CorbaMessageMediator messageMediator,
UnknownException ex);
 
Example 12
Project: openjdk9   File: CorbaProtocolHandler.java   View source code 4 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
CorbaMessageMediator messageMediator,
UnknownException ex);
 
Example 13
Project: lookaside_java-1.8.0-openjdk   File: CorbaProtocolHandler.java   View source code 4 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
CorbaMessageMediator messageMediator,
UnknownException ex);
 
Example 14
Project: jdk8u_corba   File: CorbaProtocolHandler.java   View source code 4 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
CorbaMessageMediator messageMediator,
UnknownException ex);
 
Example 15
Project: infobip-open-jdk-8   File: CorbaProtocolHandler.java   View source code 4 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
CorbaMessageMediator messageMediator,
UnknownException ex);
 
Example 16
Project: openjdk-source-code-learn   File: CorbaProtocolHandler.java   View source code 4 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
CorbaMessageMediator messageMediator,
UnknownException ex);
 
Example 17
Project: OLD-OpenJDK8   File: CorbaProtocolHandler.java   View source code 4 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
CorbaMessageMediator messageMediator,
UnknownException ex);
 
Example 18
Project: openjdk-orb   File: CorbaProtocolHandler.java   View source code 4 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
CorbaMessageMediator messageMediator,
UnknownException ex);
 
Example 19
Project: openjdk-icedtea7   File: CorbaProtocolHandler.java   View source code 4 votes vote down vote up
public CorbaMessageMediator createUnknownExceptionResponse(
CorbaMessageMediator messageMediator,
UnknownException ex);