Java Code Examples for org.omg.CORBA.OMGVMCID#value()
The following examples show how to use
org.omg.CORBA.OMGVMCID#value() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SystemException.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
/** * Converts this exception to a representative string. */ public String toString() { // The fully qualified exception class name String result = super.toString(); // The vmcid part int vmcid = minor & 0xFFFFF000; switch (vmcid) { case OMGVMCID.value: result += " vmcid: OMG"; break; case SUNVMCID.value: result += " vmcid: SUN"; break; default: result += " vmcid: 0x" + Integer.toHexString(vmcid); break; } // The minor code part int mc = minor & 0x00000FFF; result += " minor code: " + mc; // The completion status part switch (completed.value()) { case CompletionStatus._COMPLETED_YES: result += " completed: Yes"; break; case CompletionStatus._COMPLETED_NO: result += " completed: No"; break; case CompletionStatus._COMPLETED_MAYBE: default: result += " completed: Maybe"; break; } return result; }
Example 2
Source File: SystemException.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Converts this exception to a representative string. */ public String toString() { // The fully qualified exception class name String result = super.toString(); // The vmcid part int vmcid = minor & 0xFFFFF000; switch (vmcid) { case OMGVMCID.value: result += " vmcid: OMG"; break; case SUNVMCID.value: result += " vmcid: SUN"; break; default: result += " vmcid: 0x" + Integer.toHexString(vmcid); break; } // The minor code part int mc = minor & 0x00000FFF; result += " minor code: " + mc; // The completion status part switch (completed.value()) { case CompletionStatus._COMPLETED_YES: result += " completed: Yes"; break; case CompletionStatus._COMPLETED_NO: result += " completed: No"; break; case CompletionStatus._COMPLETED_MAYBE: default: result += " completed: Maybe"; break; } return result; }
Example 3
Source File: SystemException.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Converts this exception to a representative string. */ public String toString() { // The fully qualified exception class name String result = super.toString(); // The vmcid part int vmcid = minor & 0xFFFFF000; switch (vmcid) { case OMGVMCID.value: result += " vmcid: OMG"; break; case SUNVMCID.value: result += " vmcid: SUN"; break; default: result += " vmcid: 0x" + Integer.toHexString(vmcid); break; } // The minor code part int mc = minor & 0x00000FFF; result += " minor code: " + mc; // The completion status part switch (completed.value()) { case CompletionStatus._COMPLETED_YES: result += " completed: Yes"; break; case CompletionStatus._COMPLETED_NO: result += " completed: No"; break; case CompletionStatus._COMPLETED_MAYBE: default: result += " completed: Maybe"; break; } return result; }
Example 4
Source File: SystemException.java From JDKSourceCode1.8 with MIT License | 5 votes |
/** * Converts this exception to a representative string. */ public String toString() { // The fully qualified exception class name String result = super.toString(); // The vmcid part int vmcid = minor & 0xFFFFF000; switch (vmcid) { case OMGVMCID.value: result += " vmcid: OMG"; break; case SUNVMCID.value: result += " vmcid: SUN"; break; default: result += " vmcid: 0x" + Integer.toHexString(vmcid); break; } // The minor code part int mc = minor & 0x00000FFF; result += " minor code: " + mc; // The completion status part switch (completed.value()) { case CompletionStatus._COMPLETED_YES: result += " completed: Yes"; break; case CompletionStatus._COMPLETED_NO: result += " completed: No"; break; case CompletionStatus._COMPLETED_MAYBE: default: result += " completed: Maybe"; break; } return result; }
Example 5
Source File: SystemException.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Converts this exception to a representative string. */ public String toString() { // The fully qualified exception class name String result = super.toString(); // The vmcid part int vmcid = minor & 0xFFFFF000; switch (vmcid) { case OMGVMCID.value: result += " vmcid: OMG"; break; case SUNVMCID.value: result += " vmcid: SUN"; break; default: result += " vmcid: 0x" + Integer.toHexString(vmcid); break; } // The minor code part int mc = minor & 0x00000FFF; result += " minor code: " + mc; // The completion status part switch (completed.value()) { case CompletionStatus._COMPLETED_YES: result += " completed: Yes"; break; case CompletionStatus._COMPLETED_NO: result += " completed: No"; break; case CompletionStatus._COMPLETED_MAYBE: default: result += " completed: Maybe"; break; } return result; }
Example 6
Source File: SystemException.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Converts this exception to a representative string. */ public String toString() { // The fully qualified exception class name String result = super.toString(); // The vmcid part int vmcid = minor & 0xFFFFF000; switch (vmcid) { case OMGVMCID.value: result += " vmcid: OMG"; break; case SUNVMCID.value: result += " vmcid: SUN"; break; default: result += " vmcid: 0x" + Integer.toHexString(vmcid); break; } // The minor code part int mc = minor & 0x00000FFF; result += " minor code: " + mc; // The completion status part switch (completed.value()) { case CompletionStatus._COMPLETED_YES: result += " completed: Yes"; break; case CompletionStatus._COMPLETED_NO: result += " completed: No"; break; case CompletionStatus._COMPLETED_MAYBE: default: result += " completed: Maybe"; break; } return result; }
Example 7
Source File: SystemException.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Converts this exception to a representative string. */ public String toString() { // The fully qualified exception class name String result = super.toString(); // The vmcid part int vmcid = minor & 0xFFFFF000; switch (vmcid) { case OMGVMCID.value: result += " vmcid: OMG"; break; case SUNVMCID.value: result += " vmcid: SUN"; break; default: result += " vmcid: 0x" + Integer.toHexString(vmcid); break; } // The minor code part int mc = minor & 0x00000FFF; result += " minor code: " + mc; // The completion status part switch (completed.value()) { case CompletionStatus._COMPLETED_YES: result += " completed: Yes"; break; case CompletionStatus._COMPLETED_NO: result += " completed: No"; break; case CompletionStatus._COMPLETED_MAYBE: default: result += " completed: Maybe"; break; } return result; }
Example 8
Source File: SystemException.java From Java8CN with Apache License 2.0 | 5 votes |
/** * Converts this exception to a representative string. */ public String toString() { // The fully qualified exception class name String result = super.toString(); // The vmcid part int vmcid = minor & 0xFFFFF000; switch (vmcid) { case OMGVMCID.value: result += " vmcid: OMG"; break; case SUNVMCID.value: result += " vmcid: SUN"; break; default: result += " vmcid: 0x" + Integer.toHexString(vmcid); break; } // The minor code part int mc = minor & 0x00000FFF; result += " minor code: " + mc; // The completion status part switch (completed.value()) { case CompletionStatus._COMPLETED_YES: result += " completed: Yes"; break; case CompletionStatus._COMPLETED_NO: result += " completed: No"; break; case CompletionStatus._COMPLETED_MAYBE: default: result += " completed: Maybe"; break; } return result; }
Example 9
Source File: SystemException.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Converts this exception to a representative string. */ public String toString() { // The fully qualified exception class name String result = super.toString(); // The vmcid part int vmcid = minor & 0xFFFFF000; switch (vmcid) { case OMGVMCID.value: result += " vmcid: OMG"; break; case SUNVMCID.value: result += " vmcid: SUN"; break; default: result += " vmcid: 0x" + Integer.toHexString(vmcid); break; } // The minor code part int mc = minor & 0x00000FFF; result += " minor code: " + mc; // The completion status part switch (completed.value()) { case CompletionStatus._COMPLETED_YES: result += " completed: Yes"; break; case CompletionStatus._COMPLETED_NO: result += " completed: No"; break; case CompletionStatus._COMPLETED_MAYBE: default: result += " completed: Maybe"; break; } return result; }
Example 10
Source File: SystemException.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Converts this exception to a representative string. */ public String toString() { // The fully qualified exception class name String result = super.toString(); // The vmcid part int vmcid = minor & 0xFFFFF000; switch (vmcid) { case OMGVMCID.value: result += " vmcid: OMG"; break; case SUNVMCID.value: result += " vmcid: SUN"; break; default: result += " vmcid: 0x" + Integer.toHexString(vmcid); break; } // The minor code part int mc = minor & 0x00000FFF; result += " minor code: " + mc; // The completion status part switch (completed.value()) { case CompletionStatus._COMPLETED_YES: result += " completed: Yes"; break; case CompletionStatus._COMPLETED_NO: result += " completed: No"; break; case CompletionStatus._COMPLETED_MAYBE: default: result += " completed: Maybe"; break; } return result; }
Example 11
Source File: SystemException.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Converts this exception to a representative string. */ public String toString() { // The fully qualified exception class name String result = super.toString(); // The vmcid part int vmcid = minor & 0xFFFFF000; switch (vmcid) { case OMGVMCID.value: result += " vmcid: OMG"; break; case SUNVMCID.value: result += " vmcid: SUN"; break; default: result += " vmcid: 0x" + Integer.toHexString(vmcid); break; } // The minor code part int mc = minor & 0x00000FFF; result += " minor code: " + mc; // The completion status part switch (completed.value()) { case CompletionStatus._COMPLETED_YES: result += " completed: Yes"; break; case CompletionStatus._COMPLETED_NO: result += " completed: No"; break; case CompletionStatus._COMPLETED_MAYBE: default: result += " completed: Maybe"; break; } return result; }