本文整理汇总了Java中com.sun.corba.se.impl.logging.ORBUtilSystemException.illegalReplyStatus方法的典型用法代码示例。如果您正苦于以下问题:Java ORBUtilSystemException.illegalReplyStatus方法的具体用法?Java ORBUtilSystemException.illegalReplyStatus怎么用?Java ORBUtilSystemException.illegalReplyStatus使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.sun.corba.se.impl.logging.ORBUtilSystemException
的用法示例。
在下文中一共展示了ORBUtilSystemException.illegalReplyStatus方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: isValidReplyStatus
import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
public static void isValidReplyStatus(int replyStatus) {
switch (replyStatus) {
case UNKNOWN_OBJECT :
case OBJECT_HERE :
case OBJECT_FORWARD :
case OBJECT_FORWARD_PERM :
case LOC_SYSTEM_EXCEPTION :
case LOC_NEEDS_ADDRESSING_MODE :
break;
default :
ORBUtilSystemException localWrapper = ORBUtilSystemException.get(
CORBALogDomains.RPC_PROTOCOL ) ;
throw localWrapper.illegalReplyStatus( CompletionStatus.COMPLETED_MAYBE);
}
}
示例2: isValidReplyStatus
import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
public static void isValidReplyStatus(int replyStatus) {
switch (replyStatus) {
case NO_EXCEPTION :
case USER_EXCEPTION :
case SYSTEM_EXCEPTION :
case LOCATION_FORWARD :
break;
default :
ORBUtilSystemException localWrapper = ORBUtilSystemException.get(
CORBALogDomains.RPC_PROTOCOL ) ;
throw localWrapper.illegalReplyStatus( CompletionStatus.COMPLETED_MAYBE);
}
}
示例3: isValidReplyStatus
import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
public static void isValidReplyStatus(int replyStatus) {
switch (replyStatus) {
case UNKNOWN_OBJECT :
case OBJECT_HERE :
case OBJECT_FORWARD :
break;
default :
ORBUtilSystemException localWrapper = ORBUtilSystemException.get(
CORBALogDomains.RPC_PROTOCOL ) ;
throw localWrapper.illegalReplyStatus( CompletionStatus.COMPLETED_MAYBE);
}
}
示例4: isValidReplyStatus
import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
public static void isValidReplyStatus(int replyStatus) {
switch (replyStatus) {
case NO_EXCEPTION :
case USER_EXCEPTION :
case SYSTEM_EXCEPTION :
case LOCATION_FORWARD :
case LOCATION_FORWARD_PERM :
case NEEDS_ADDRESSING_MODE :
break;
default :
ORBUtilSystemException localWrapper = ORBUtilSystemException.get(
CORBALogDomains.RPC_PROTOCOL ) ;
throw localWrapper.illegalReplyStatus( CompletionStatus.COMPLETED_MAYBE);
}
}