1. /*
  2. * @(#)RequestCanceledException.java 1.5 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.internal.iiop;
  8. /**
  9. * If this exception is caught explicitly, this need to be rethrown.
  10. */
  11. public class RequestCanceledException extends RuntimeException {
  12. private int requestId = 0;
  13. public RequestCanceledException(int requestId) {
  14. this.requestId = requestId;
  15. }
  16. public int getRequestId() {
  17. return this.requestId;
  18. }
  19. }