01: /**
02: * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
03: * Unpublished - rights reserved under the Copyright Laws of the United States.
04: * Copyright © 2003 Sun Microsystems, Inc. All rights reserved.
05: * Copyright © 2005 BEA Systems, Inc. All rights reserved.
06: *
07: * Use is subject to license terms.
08: *
09: * This distribution may include materials developed by third parties.
10: *
11: * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12: *
13: * Module Name : JSIP Specification
14: * File Name : ObjectInUseException.java
15: * Author : Phelim O'Doherty
16: *
17: * HISTORY
18: * Version Date Author Comments
19: * 1.1 08/10/2002 Phelim O'Doherty Initial version
20: *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21: */package javax.sip;
22:
23: /**
24:
25: * This exception is thrown by a method that is unable to delete a specified
26:
27: * Object because the Object is still in use by the underlying implementation.
28:
29: *
30:
31: * @author BEA Systems, NIST
32: * @version 1.2
33:
34: */
35:
36: public class ObjectInUseException extends SipException {
37:
38: /**
39:
40: * Constructs a new <code>ObjectInUseException</code>.
41:
42: */
43:
44: public ObjectInUseException() {
45:
46: super ();
47:
48: }
49:
50: /**
51:
52: * Constructs a new <code>ObjectInUseException</code> with the specified
53:
54: * error message.
55:
56: *
57:
58: * @param message the detailed error message
59:
60: */
61:
62: public ObjectInUseException(String message) {
63:
64: super (message);
65:
66: }
67:
68: /**
69:
70: * Constructs a new <code>ObjectInUseException</code> with the
71:
72: * specified error message and specialized cause that triggered this error
73:
74: * condition.
75:
76: *
77:
78: * @param message - the detail of the error message
79:
80: * @param cause - the specialized cause that triggered this exception
81:
82: */
83:
84: public ObjectInUseException(String message, Throwable cause) {
85:
86: super(message, cause);
87:
88: }
89:
90: }
|