corba/src/java.corba/share/classes/org/omg/CORBA/MARSHAL.java
changeset 32688 936c391804a5
parent 25862 a5e25d68f971
child 45443 57dbb6453a4d
equal deleted inserted replaced
32550:6521875cb63e 32688:936c391804a5
    29  * A request or reply from the network is structurally invalid.
    29  * A request or reply from the network is structurally invalid.
    30  * This error typically indicates a bug in either the client-side
    30  * This error typically indicates a bug in either the client-side
    31  * or server-side run time. For example, if a reply from the server
    31  * or server-side run time. For example, if a reply from the server
    32  * indicates that the message contains 1000 bytes, but the actual
    32  * indicates that the message contains 1000 bytes, but the actual
    33  * message is shorter or longer than 1000 bytes, the ORB raises
    33  * message is shorter or longer than 1000 bytes, the ORB raises
    34  * this exception. <tt>MARSHAL</tt> can also be caused by using
    34  * this exception. {@code MARSHAL} can also be caused by using
    35  * the DII or DSI incorrectly, for example, if the type of the
    35  * the DII or DSI incorrectly, for example, if the type of the
    36  * actual parameters sent does not agree with IDL signature of an
    36  * actual parameters sent does not agree with IDL signature of an
    37  * operation.<P>
    37  * operation.<P>
    38  * It contains a minor code, which gives more detailed information about
    38  * It contains a minor code, which gives more detailed information about
    39  * what caused the exception, and a completion status. It may also contain
    39  * what caused the exception, and a completion status. It may also contain
    45  * @since       JDK1.2
    45  * @since       JDK1.2
    46  */
    46  */
    47 
    47 
    48 public final class MARSHAL extends SystemException {
    48 public final class MARSHAL extends SystemException {
    49     /**
    49     /**
    50      * Constructs a <code>MARSHAL</code> exception with a default minor code
    50      * Constructs a {@code MARSHAL} exception with a default minor code
    51      * of 0, a completion state of CompletionStatus.COMPLETED_NO,
    51      * of 0, a completion state of CompletionStatus.COMPLETED_NO,
    52      * and a null description.
    52      * and a null description.
    53      */
    53      */
    54     public MARSHAL() {
    54     public MARSHAL() {
    55         this("");
    55         this("");
    56     }
    56     }
    57 
    57 
    58     /**
    58     /**
    59      * Constructs a <code>MARSHAL</code> exception with the specified description message,
    59      * Constructs a {@code MARSHAL} exception with the specified description message,
    60      * a minor code of 0, and a completion state of COMPLETED_NO.
    60      * a minor code of 0, and a completion state of COMPLETED_NO.
    61      * @param s the String containing a description of the exception
    61      * @param s the String containing a description of the exception
    62      */
    62      */
    63     public MARSHAL(String s) {
    63     public MARSHAL(String s) {
    64         this(s, 0, CompletionStatus.COMPLETED_NO);
    64         this(s, 0, CompletionStatus.COMPLETED_NO);
    65     }
    65     }
    66 
    66 
    67     /**
    67     /**
    68      * Constructs a <code>MARSHAL</code> exception with the specified
    68      * Constructs a {@code MARSHAL} exception with the specified
    69      * minor code and completion status.
    69      * minor code and completion status.
    70      * @param minor the minor code
    70      * @param minor the minor code
    71      * @param completed the completion status
    71      * @param completed the completion status
    72      */
    72      */
    73     public MARSHAL(int minor, CompletionStatus completed) {
    73     public MARSHAL(int minor, CompletionStatus completed) {
    74         this("", minor, completed);
    74         this("", minor, completed);
    75     }
    75     }
    76 
    76 
    77     /**
    77     /**
    78      * Constructs a <code>MARSHAL</code> exception with the specified description
    78      * Constructs a {@code MARSHAL} exception with the specified description
    79      * message, minor code, and completion status.
    79      * message, minor code, and completion status.
    80      * @param s the String containing a description message
    80      * @param s the String containing a description message
    81      * @param minor the minor code
    81      * @param minor the minor code
    82      * @param completed the completion status
    82      * @param completed the completion status
    83      */
    83      */