Java Code Examples for com.sun.corba.se.impl.logging.ORBUtilSystemException.illegalReplyStatus()

The following are Jave code examples for showing how to use illegalReplyStatus() of the com.sun.corba.se.impl.logging.ORBUtilSystemException class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: OpenJSharp   File: LocateReplyMessage_1_2.java   Source Code and License Vote up 5 votes
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);
    }
}
 
Example 2
Project: OpenJSharp   File: ReplyMessage_1_0.java   Source Code and License Vote up 5 votes
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);
    }
}
 
Example 3
Project: OpenJSharp   File: LocateReplyMessage_1_0.java   Source Code and License Vote up 5 votes
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);
    }
}
 
Example 4
Project: OpenJSharp   File: ReplyMessage_1_2.java   Source Code and License Vote up 5 votes
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);
    }
}
 
Example 5
Project: OpenJSharp   File: LocateReplyMessage_1_1.java   Source Code and License Vote up 5 votes
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);
    }
}
 
Example 6
Project: OpenJSharp   File: ReplyMessage_1_1.java   Source Code and License Vote up 5 votes
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);
    }
}
 
Example 7
Project: openjdk-jdk10   File: LocateReplyMessage_1_2.java   Source Code and License Vote up 5 votes
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);
    }
}
 
Example 8
Project: openjdk-jdk10   File: ReplyMessage_1_0.java   Source Code and License Vote up 5 votes
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);
    }
}
 
Example 9
Project: openjdk-jdk10   File: LocateReplyMessage_1_0.java   Source Code and License Vote up 5 votes
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);
    }
}
 
Example 10
Project: openjdk-jdk10   File: ReplyMessage_1_2.java   Source Code and License Vote up 5 votes
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);
    }
}
 
Example 11
Project: openjdk-jdk10   File: LocateReplyMessage_1_1.java   Source Code and License Vote up 5 votes
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);
    }
}
 
Example 12
Project: openjdk-jdk10   File: ReplyMessage_1_1.java   Source Code and License Vote up 5 votes
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);
    }
}