IDL Exceptions
  • PostBid can signal 3 different types of exceptional conditions
    • Each of these exceptions is a structured IDL datatype that can carry additional information about the exception.
      • BidTooLow indicates that the bid being placed on the given object does not differ from the previous maximum bid by a sufficient amount. The exception contains the minimum bid that will be accepted.
  • IDL Exception Rules
    • Exceptions do not support inheritance
    • Operations must declare the exceptions that they throw
    • There are a variety of predefined system exceptions
      • These exceptions can be thrown by the underlying CORBA implementation or by the application programmer
      • E.g. org.omg.CORBA.BAD_PARAM

Next Slide >>