1 /*
2 * jSDP: A Java implementation of SDP protocol Copyright (C) 2007 Claudio Di
3 * Vita
4 */
5 package net.sourceforge.jsdp;
6
7 /**
8 * The SDP general exception. This defines a general exception for the SDP
9 * classes to throw when they encounter a difficult.
10 *
11 * @author <a href="mailto:cdivita@users.sourceforge.net">Claudio Di Vita</a>
12 *
13 * @since 1.0
14 *
15 * @version 1.0
16 */
17 public class SDPException extends Exception {
18
19 /** The class Stream Unique Identifier, SUID */
20 private static final long serialVersionUID = 6147583906191614487L;
21
22 /**
23 * Creates a new <tt>SDPException</tt>.
24 */
25 public SDPException() {
26
27 super();
28 }
29
30 /**
31 * Creates a new <tt>SDPException</tt>.
32 *
33 * @param message the exception message
34 */
35 public SDPException(final String message) {
36
37 super(message);
38 }
39
40 /**
41 * Creates a new <tt>SDPException</tt>.
42 *
43 * @param message the exception message
44 * @param cause the exception root cause
45 */
46 public SDPException(final String message, final Throwable cause) {
47
48 super(message, cause);
49 }
50 }