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