X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=idl%2Fexceptions.idl;fp=idl%2Fexceptions.idl;h=d0f2a2e9ec74885cbe95591f19de42455838680a;hp=f32e597d4c7fee4302e040888ab9b6f62af7148e;hb=d32da4b91b9a403ae9d65c48fbb25c1abbb5083f;hpb=f413d22bf73f826dacc8881cbfb902e77aa1a84d diff --git a/idl/exceptions.idl b/idl/exceptions.idl index f32e597..d0f2a2e 100644 --- a/idl/exceptions.idl +++ b/idl/exceptions.idl @@ -235,6 +235,12 @@ struct InvalidArgument : SystemException { char[] exp immutable; }; +struct InternalFailure : SystemException { + guid: "52819E26-1791-11DC-931E-00112431A05E"; + + char[] exp immutable; +}; + // GeneralFailure, as the name implies, is a general purpose exception // to indicate failure conditions not covered by existing exceptions. // It is generally preferable to define a specific exception for @@ -297,3 +303,23 @@ struct RefCountException : SystemException { int refs, released; }; + +// Thrown when an ORB message is malformed. +// FIXME: Move into orb namespace + +struct BadMessage : SystemException { + guid: "5347B217-1790-11DC-A89E-00112431A05E"; +}; + +struct ShortMessage : BadMessage { + guid: "5DA142FA-1791-11DC-A3BE-00112431A05E"; + + int segment; // Short segment, or -1 for objlist + int len, expected; +}; + +struct InvalidOpcode : BadMessage { + guid: "5708BF7E-1791-11DC-B1D3-00112431A05E"; + + int opcode; +};