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 : TooManyHopsException.java
15: * Author : Phelim O'Doherty
16: *
17: * HISTORY
18: * Version Date Author Comments
19: * 1.1 20/12/2002 Phelim O'Doherty Initial version
20: *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21: */package javax.sip.header;
22:
23: import javax.sip.SipException;
24:
25: /**
26: * This Exception is thrown when a user attempts decrement the Hop count when
27: * the message as already reached its max number of forwards.
28: *
29: * @author BEA Systems, NIST
30: * @version 1.2
31: */
32: public class TooManyHopsException extends SipException {
33:
34: /**
35: * Constructs a new <code>TooManyHopsException</code>
36: */
37: public TooManyHopsException() {
38: super ();
39: }
40:
41: /**
42: * Constructs a new <code>TooManyHopsException</code> with
43: * the specified error message.
44: *
45: * @param message the detail of the error message
46: */
47: public TooManyHopsException(String message) {
48: super (message);
49: }
50:
51: /**
52: * Constructs a new <code>TooManyHopsException</code> with the
53: * specified error message and specialized cause that triggered this error
54: * condition.
55: *
56: * @param message the detail of the error message
57: * @param cause the specialized cause that triggered this exception
58: */
59: public TooManyHopsException(String message, Throwable cause) {
60: super(message, cause);
61: }
62:
63: }
|