minorcodes.java

来自「java jdk 1.4的源码」· Java 代码 · 共 592 行 · 第 1/2 页

JAVA
592
字号
     */    public static final int ORB_TARGET_ADDR_PREFERENCE_IN_EXTRACT_OBJECTKEY_INVALID = ORBConstants.GENERAL_BASE + 31;    public static final int INVALID_ISSTREAMED_TCKIND = ORBConstants.GENERAL_BASE + 32;    /**     * Found a JDK 1.3.1 patch level indicator at the end of the object key,     * but it had a value less than the JDK 1.3.1_01 value of 1.     */    public static final int INVALID_JDK1_3_1_PATCH_LEVEL = ORBConstants.GENERAL_BASE + 33;    /**     * Error unmarshaling the data portion of a service context.      * Most likely due to the ServiceContextData class not being     * able to initialize the proper ServiceContext.     */    public static final int SVCCTX_UNMARSHAL_ERROR = ORBConstants.GENERAL_BASE + 34;/////////////////////////////////////////////////////////////////// MARSHAL exception minor codes (also see util/MinorCodes)/////////////////////////////////////////////////////////////////    /**     * When a non objectimpl given to object_to_string     * formal/01-09-34 p 3-22.     */    public static final int NOT_AN_OBJECT_IMPL = OMGVMCID.value + 2;    /**     * The chunk ended but data was read past it without closing     */    public static final int CHUNK_OVERFLOW = ORBConstants.GENERAL_BASE + 1;    /**     * Thrown when a CDRInputStream with the grow strategy tries to     * call underflow.     */    public static final int UNEXPECTED_EOF = ORBConstants.GENERAL_BASE + 2;    /**      * Error occured while trying to read a marshalled object      * reference and converting into an in memory object reference.     */    public static final int READ_OBJECT_EXCEPTION = ORBConstants.GENERAL_BASE + 3 ;   /**      * Character encountered while marshalling or unmarshalling      * that is not ISO Latin-1 (8859.1) compliant. It is not in     * the range of 0 to 255.  Also used for DATA_CONVERSION exception     *     * No longer used!     */    public static final int CHARACTER_OUTOFRANGE = ORBConstants.GENERAL_BASE + 4 ;    /**     * An exception was thrown while doing the result()     * operation on ServerRequest.     */    public static final int DSI_RESULT_EXCEPTION = ORBConstants.GENERAL_BASE + 5 ;    /**     * IIOPInputStream.grow was called.     */    public static final int IIOPINPUTSTREAM_GROW = ORBConstants.GENERAL_BASE + 6 ;    /**     * Thrown when underflow occurs in BufferManagerReadStream, but     * the last fragment of that message was already received and     * processed.     */    public static final int END_OF_STREAM = ORBConstants.GENERAL_BASE + 7;    /**     * Thrown when errors happen while extracting object key from the      * request headers.     */    public static final int INVALID_OBJECT_KEY = ORBConstants.GENERAL_BASE + 8;    /**     * Thrown when loading a class with a provided URL, and the URL is     * invalid.     */    public static final int MALFORMED_URL = ORBConstants.GENERAL_BASE + 9;    /**     * Thrown when an Error comes up from calling readValue on a ValueHandler     * in CDRInputStream.     */    public static final int VALUEHANDLER_READ_ERROR = ORBConstants.GENERAL_BASE + 10;    /**     * Thrown when an Exception comes up from calling readValue on a      * ValueHandler in CDRInputStream.     */    public static final int VALUEHANDLER_READ_EXCEPTION = ORBConstants.GENERAL_BASE + 11;    /**     * Thrown when a bad kind is given in isCustomType in CDRInputStream.     */    public static final int BAD_KIND = ORBConstants.GENERAL_BASE + 12;    /**     * Thrown when couldn't find a class in readClass in CDRInputStream.     */    public static final int CNFE_READ_CLASS = ORBConstants.GENERAL_BASE + 13;    /**     * Bad repository ID indirection.     */    public static final int BAD_REP_ID_INDIRECTION = ORBConstants.GENERAL_BASE + 14;    /**     * Bad codebase string indirection.     */    public static final int BAD_CODEBASE_INDIRECTION = ORBConstants.GENERAL_BASE + 15;    /**     * An unknown code set was specified by the client ORB as one of the     * negotiated code sets.  This can only occur if there is a bug in     * the client side's code set negotiation.     */    public static final int UNKNOWN_CODESET = ORBConstants.GENERAL_BASE + 16;    /**     * wchar/wstring data in GIOP 1.0     *     * As part of the resolution for issue 3681, a MARSHAL exception must     * be thrown when wchar/wstring data is sent in GIOP 1.0.  The minor     * codes will be standard, but aren't available, yet.     */    public static final int WCHAR_DATA_IN_GIOP_1_0 = ORBConstants.GENERAL_BASE + 17;    /**     * String or wstring with a negative length.  This is usually due to     * other problems in the stream, probably custom marshalling.     */    public static final int NEGATIVE_STRING_LENGTH = ORBConstants.GENERAL_BASE + 18;    /**     * Someone called CDRInputStream read_value(expectedType) with a null     * parameter and there was no repository ID information on the wire.     */    public static final int EXPECTED_TYPE_NULL_AND_NO_REP_ID        = ORBConstants.GENERAL_BASE + 19;    /**     * Someone called CDRInputStream read_value() and there was no     * repository ID information on the wire.     */    public static final int READ_VALUE_AND_NO_REP_ID        = ORBConstants.GENERAL_BASE + 20;    /**     * Thrown in CDROutputStream_1_0 when an error occurs while     * connecting a servant.     */    public static final int CONNECTING_SERVANT = ORBConstants.GENERAL_BASE + 21;    /**     * We received (or think we received) an end tag which is less     * than the one we were expecting.  That means that the sender     * must think there are more enclosing chunked valuetypes than     * we do.     */    public static final int UNEXPECTED_ENCLOSING_VALUETYPE = ORBConstants.GENERAL_BASE + 22;    /**     * We read (or think we read) an end tag whose value was     * [0, 0x7fffff00).  End tags are always negative.     * There is a very obscure case where the read end tag     * code might encounter a nested valuetype's value tag     * if a custom marshaler leaves too much data on the wire,     * so this isn't thrown if the long we read had a     * value greater than or equal to 0x7fffff00 (the minimum     * value tag).     */    public static final int POSITIVE_END_TAG = ORBConstants.GENERAL_BASE + 23;    /**     * The client thread tried to get its out call descriptor     * from the table, but it was null.     */    public static final int NULL_OUT_CALL = ORBConstants.GENERAL_BASE + 24;    /**     * write_Object called with a org.omg.CORBA.LocalObject.     * IDL to Java formal 01-06-06 1.21.4.2.  No standard minor code     * given.     */    public static final int WRITE_LOCAL_OBJECT = ORBConstants.GENERAL_BASE + 25;    /**     * Attempted to insert something besides an ObjectImpl     * into an Any via insert_Object.     */    public static final int BAD_INSERTOBJ_PARAM = ORBConstants.GENERAL_BASE + 26;/////////////////////////////////////////////////////////////////// NO_IMPLEMENT minor cores/////////////////////////////////////////////////////////////////    public static final int GENERIC_NO_IMPL = ORBConstants.GENERAL_BASE + 1 ;    public static final int CONTEXT_NOT_IMPLEMENTED = ORBConstants.GENERAL_BASE + 2 ;     /**      * get_interface is not implemented on server.     */    public static final int GETINTERFACE_NOT_IMPLEMENTED = ORBConstants.GENERAL_BASE + 3 ;    /**      * deferred sends are not implemented.     */    public static final int SEND_DEFERRED_NOTIMPLEMENTED = ORBConstants.GENERAL_BASE + 4 ;/////////////////////////////////////////////////////////////////// OBJ_ADAPTER minor codes/////////////////////////////////////////////////////////////////    /**      * There was no subcontract found that matches the one in      * the object key when dispatching the request on the server     * side to the object adapter layer.     */    public static final int NO_SERVER_SC_IN_DISPATCH = ORBConstants.GENERAL_BASE + 1 ;    /**      * There was no subcontract found that matches the one in      * the object key when dispatching the locate request on the server     * side to the object adapter layer.     */    /**      * Error occured when trying to connect a servant to the ORB.     */    public static final int ORB_CONNECT_ERROR = ORBConstants.GENERAL_BASE + 2 ;/////////////////////////////////////////////////////////////////// OBJECT_NOT_EXIST/////////////////////////////////////////////////////////////////    // from IIOPConnection.java    /**      * The locate request got the response indicating that the     * object is not known to the locator.     */    public static final int LOCATE_UNKNOWN_OBJECT = ORBConstants.GENERAL_BASE + 1 ;     // from GenericServerSC.java    /**      * The server id of the server that received the request does     * not match the server id baked into the object key of the     * object reference that was invoked upon.     */    public static final int BAD_SERVER_ID = ORBConstants.GENERAL_BASE + 2 ;       /**      * No skeleton was found on the server side that matches the     * contents of the object key inside the object reference.     */    // There is another minor code with that name in com.sun.PortableServer.MinorCodes    public static final int BAD_SKELETON = ORBConstants.GENERAL_BASE + 3 ;     public static final int SERVANT_NOT_FOUND = ORBConstants.GENERAL_BASE + 4 ; /////////////////////////////////////////////////////////////////// TRANSIENT minor codes/////////////////////////////////////////////////////////////////    /**      * ptc/00-08-06 table 4-1      */    public static final int REQUEST_CANCELED = OMGVMCID.value + 3 ;/////////////////////////////////////////////////////////////////// UNKNOWN minor codes/////////////////////////////////////////////////////////////////    /**      * Unknown user exception encountered while unmarshalling.     */    public static final int UNKNOWN_CORBA_EXC = ORBConstants.GENERAL_BASE + 1 ;    /**      * Unknown user exception thrown by the server implementation.     */    public static final int RUNTIMEEXCEPTION = ORBConstants.GENERAL_BASE + 2 ;    /**      * Unknown exception/error thrown by the ORB/application implementation.     */    public static final int UNKNOWN_SERVER_ERROR = ORBConstants.GENERAL_BASE + 3 ;    /**     * Error while marshaling SystemException after DSI-based invocation.      */    public static final int UNKNOWN_DSI_SYSEX = ORBConstants.GENERAL_BASE + 4;    /*     * Error while unmarshalling SystemException     */    public static final int UNKNOWN_SYSEX = ORBConstants.GENERAL_BASE + 5;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?