private void doInvoke(DynamicImplementation servant,
org.omg.CORBA.ServerRequest request)
{
try {
servant.invoke(request);
}
catch (org.omg.CORBA.SystemException se) {
throw se;
}
catch (Throwable th) {
if (m_poa_manager.m_orb.m_trace != null) {
String[] msg =
{ toString(),
" Exception in servant invoke method, UNKOWN thrown: "
};
m_trace.printStackTrace(Trace.DEBUG, msg, th);
}
throw new org.omg.CORBA.UNKNOWN();
}
}
java类org.omg.CORBA.UNKNOWN的实例源码
ExecThread.java 文件源码
项目:TIDorbJ
阅读 19
收藏 0
点赞 0
评论 0
UserExceptionEncoder.java 文件源码
项目:TIDorbJ
阅读 19
收藏 0
点赞 0
评论 0
public static org.omg.CORBA.UnknownUserException
read(org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.TypeCode[] types)
{
String name = in.read_string();
try {
if (types != null)
for (int i = 0; i < types.length; i++) {
if (types[i].kind().value() != TCKind._tk_except)
throw new
BAD_PARAM("Bad ExceptionList: not Exception TypeCode");
if (name.equals(types[i].name())) {
Any any = in.orb().create_any();
any.read_value(in, types[i]);
return new UnknownUserException(any);
}
}
}
catch (BadKind bk) {}
throw new UNKNOWN("Unexpected exception: " + name);
}
UEInfoServiceContext.java 文件源码
项目:OpenJSharp
阅读 17
收藏 0
点赞 0
评论 0
public UEInfoServiceContext(InputStream is, GIOPVersion gv)
{
super(is, gv) ;
try {
unknown = (Throwable) in.read_value() ;
} catch (ThreadDeath d) {
throw d ;
} catch (Throwable e) {
unknown = new UNKNOWN( 0, CompletionStatus.COMPLETED_MAYBE ) ;
}
}
ORBUtilSystemException.java 文件源码
项目:OpenJSharp
阅读 18
收藏 0
点赞 0
评论 0
public UNKNOWN unknownCorbaExc( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( UNKNOWN_CORBA_EXC, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "ORBUTIL.unknownCorbaExc",
parameters, ORBUtilSystemException.class, exc ) ;
}
return exc ;
}
ORBUtilSystemException.java 文件源码
项目:OpenJSharp
阅读 20
收藏 0
点赞 0
评论 0
public UNKNOWN runtimeexception( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( RUNTIMEEXCEPTION, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "ORBUTIL.runtimeexception",
parameters, ORBUtilSystemException.class, exc ) ;
}
return exc ;
}
ORBUtilSystemException.java 文件源码
项目:OpenJSharp
阅读 16
收藏 0
点赞 0
评论 0
public UNKNOWN unknownServerError( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( UNKNOWN_SERVER_ERROR, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "ORBUTIL.unknownServerError",
parameters, ORBUtilSystemException.class, exc ) ;
}
return exc ;
}
ORBUtilSystemException.java 文件源码
项目:OpenJSharp
阅读 19
收藏 0
点赞 0
评论 0
public UNKNOWN unknownDsiSysex( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( UNKNOWN_DSI_SYSEX, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "ORBUTIL.unknownDsiSysex",
parameters, ORBUtilSystemException.class, exc ) ;
}
return exc ;
}
ORBUtilSystemException.java 文件源码
项目:OpenJSharp
阅读 19
收藏 0
点赞 0
评论 0
public UNKNOWN unknownSysex( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( UNKNOWN_SYSEX, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "ORBUTIL.unknownSysex",
parameters, ORBUtilSystemException.class, exc ) ;
}
return exc ;
}
ORBUtilSystemException.java 文件源码
项目:OpenJSharp
阅读 17
收藏 0
点赞 0
评论 0
public UNKNOWN wrongInterfaceDef( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( WRONG_INTERFACE_DEF, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "ORBUTIL.wrongInterfaceDef",
parameters, ORBUtilSystemException.class, exc ) ;
}
return exc ;
}
ORBUtilSystemException.java 文件源码
项目:OpenJSharp
阅读 17
收藏 0
点赞 0
评论 0
public UNKNOWN noInterfaceDefStub( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( NO_INTERFACE_DEF_STUB, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "ORBUTIL.noInterfaceDefStub",
parameters, ORBUtilSystemException.class, exc ) ;
}
return exc ;
}
ORBUtilSystemException.java 文件源码
项目:OpenJSharp
阅读 19
收藏 0
点赞 0
评论 0
public UNKNOWN unknownExceptionInDispatch( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( UNKNOWN_EXCEPTION_IN_DISPATCH, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.FINE )) {
Object[] parameters = null ;
doLog( Level.FINE, "ORBUTIL.unknownExceptionInDispatch",
parameters, ORBUtilSystemException.class, exc ) ;
}
return exc ;
}
NamingSystemException.java 文件源码
项目:OpenJSharp
阅读 19
收藏 0
点赞 0
评论 0
public UNKNOWN bindUpdateContextFailed( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( BIND_UPDATE_CONTEXT_FAILED, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "NAMING.bindUpdateContextFailed",
parameters, NamingSystemException.class, exc ) ;
}
return exc ;
}
NamingSystemException.java 文件源码
项目:OpenJSharp
阅读 18
收藏 0
点赞 0
评论 0
public UNKNOWN bindFailure( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( BIND_FAILURE, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "NAMING.bindFailure",
parameters, NamingSystemException.class, exc ) ;
}
return exc ;
}
NamingSystemException.java 文件源码
项目:OpenJSharp
阅读 19
收藏 0
点赞 0
评论 0
public UNKNOWN resolveConversionFailure( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( RESOLVE_CONVERSION_FAILURE, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "NAMING.resolveConversionFailure",
parameters, NamingSystemException.class, exc ) ;
}
return exc ;
}
NamingSystemException.java 文件源码
项目:OpenJSharp
阅读 19
收藏 0
点赞 0
评论 0
public UNKNOWN resolveFailure( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( RESOLVE_FAILURE, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "NAMING.resolveFailure",
parameters, NamingSystemException.class, exc ) ;
}
return exc ;
}
NamingSystemException.java 文件源码
项目:OpenJSharp
阅读 19
收藏 0
点赞 0
评论 0
public UNKNOWN unbindFailure( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( UNBIND_FAILURE, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "NAMING.unbindFailure",
parameters, NamingSystemException.class, exc ) ;
}
return exc ;
}
POASystemException.java 文件源码
项目:OpenJSharp
阅读 19
收藏 0
点赞 0
评论 0
public UNKNOWN otshookexception( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( OTSHOOKEXCEPTION, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "POA.otshookexception",
parameters, POASystemException.class, exc ) ;
}
return exc ;
}
POASystemException.java 文件源码
项目:OpenJSharp
阅读 17
收藏 0
点赞 0
评论 0
public UNKNOWN unknownServerException( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( UNKNOWN_SERVER_EXCEPTION, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "POA.unknownServerException",
parameters, POASystemException.class, exc ) ;
}
return exc ;
}
POASystemException.java 文件源码
项目:OpenJSharp
阅读 20
收藏 0
点赞 0
评论 0
public UNKNOWN unknownServerappException( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( UNKNOWN_SERVERAPP_EXCEPTION, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "POA.unknownServerappException",
parameters, POASystemException.class, exc ) ;
}
return exc ;
}
POASystemException.java 文件源码
项目:OpenJSharp
阅读 19
收藏 0
点赞 0
评论 0
public UNKNOWN unknownLocalinvocationError( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( UNKNOWN_LOCALINVOCATION_ERROR, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "POA.unknownLocalinvocationError",
parameters, POASystemException.class, exc ) ;
}
return exc ;
}
UtilSystemException.java 文件源码
项目:OpenJSharp
阅读 18
收藏 0
点赞 0
评论 0
public UNKNOWN unknownSysex( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( UNKNOWN_SYSEX, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "UTIL.unknownSysex",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
InterceptorsSystemException.java 文件源码
项目:OpenJSharp
阅读 17
收藏 0
点赞 0
评论 0
public UNKNOWN unknownRequestInvoke( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( UNKNOWN_REQUEST_INVOKE, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.FINE )) {
Object[] parameters = null ;
doLog( Level.FINE, "INTERCEPTORS.unknownRequestInvoke",
parameters, InterceptorsSystemException.class, exc ) ;
}
return exc ;
}
OMGSystemException.java 文件源码
项目:OpenJSharp
阅读 22
收藏 0
点赞 0
评论 0
public UNKNOWN unknownUserException( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( UNKNOWN_USER_EXCEPTION, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.FINE )) {
Object[] parameters = null ;
doLog( Level.FINE, "OMG.unknownUserException",
parameters, OMGSystemException.class, exc ) ;
}
return exc ;
}
OMGSystemException.java 文件源码
项目:OpenJSharp
阅读 24
收藏 0
点赞 0
评论 0
public UNKNOWN unsupportedSystemException( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( UNSUPPORTED_SYSTEM_EXCEPTION, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "OMG.unsupportedSystemException",
parameters, OMGSystemException.class, exc ) ;
}
return exc ;
}
OMGSystemException.java 文件源码
项目:OpenJSharp
阅读 21
收藏 0
点赞 0
评论 0
public UNKNOWN piUnknownUserException( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( PI_UNKNOWN_USER_EXCEPTION, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "OMG.piUnknownUserException",
parameters, OMGSystemException.class, exc ) ;
}
return exc ;
}
UEInfoServiceContext.java 文件源码
项目:openjdk-jdk10
阅读 17
收藏 0
点赞 0
评论 0
public UEInfoServiceContext(InputStream is, GIOPVersion gv)
{
super(is, gv) ;
try {
unknown = (Throwable) in.read_value() ;
} catch (ThreadDeath d) {
throw d ;
} catch (Throwable e) {
unknown = new UNKNOWN( 0, CompletionStatus.COMPLETED_MAYBE ) ;
}
}
UEInfoServiceContext.java 文件源码
项目:openjdk9
阅读 16
收藏 0
点赞 0
评论 0
public UEInfoServiceContext(InputStream is, GIOPVersion gv)
{
super(is, gv) ;
try {
unknown = (Throwable) in.read_value() ;
} catch (ThreadDeath d) {
throw d ;
} catch (Throwable e) {
unknown = new UNKNOWN( 0, CompletionStatus.COMPLETED_MAYBE ) ;
}
}
CorbaMessageMediatorImpl.java 文件源码
项目:openjdk9
阅读 25
收藏 0
点赞 0
评论 0
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);
}
LocalMustAliasAnalysis.java 文件源码
项目:JAADAS
阅读 27
收藏 0
点赞 0
评论 0
/** Initial most conservative value: has to be {@link UNKNOWN} (top). */
protected HashMap<Value,Object> entryInitialFlow()
{
HashMap<Value,Object> m = new HashMap<Value,Object>();
for (Value l : (Collection<Value>) localsAndFieldRefs) {
m.put(l, UNKNOWN);
}
return m;
}
LocalMustAliasAnalysis.java 文件源码
项目:JAADAS
阅读 24
收藏 0
点赞 0
评论 0
/**
* Returns a string (natural number) representation of the instance key associated with l
* at statement s or <code>null</code> if there is no such key associated or <code>UNKNOWN</code> if
* the value of l at s is {@link #UNKNOWN}.
* @param l any local of the associated method
* @param s the statement at which to check
*/
public String instanceKeyString(Local l, Stmt s) {
Object ln = getFlowBefore(s).get(l);
if(ln==null) {
return null;
} else if(ln==UNKNOWN) {
return UNKNOWN.toString();
}
return ln.toString();
}