×

System, method, and article of manufacture for a polymorphic exception handler in environment services patterns

  • US 6,502,213 B1
  • Filed: 08/31/1999
  • Issued: 12/31/2002
  • Est. Priority Date: 08/31/1999
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for minimizing the amount of changes that need to be made to exception handling logic when new exceptions are added, comprising the steps of:

  • (a) organizing exceptions into hierarchies in a polymorphic exception handler;

    (b) catching a root of one of the hierarchies in which an exception occurs;

    (c) instructing the exception to rethrow itself;

    (d) catching the rethrown exception;

    (e) identifying the rethrown exception;

    (f) determining a type of the rethrown exception;

    (g) outputting a message indicating the type of the rethrown exception; and

    (h) creating catch blocks to catch the rethrown exception.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×