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 * This exception is thrown when an error occurs while parsing an SDP message or
9 * an SDP field.
10 *
11 * @author <a hfref="mailto:cdivita@users.sourceforge.net">Claudio Di Vita</a>
12 *
13 * @since 1.0
14 *
15 * @version 1.0
16 */
17 public class SDPParseException extends SDPException {
18
19 /** The class Stream Unique Identifier, SUID */
20 private static final long serialVersionUID = -2057138208340422310L;
21
22 /**
23 * Creates a new <tt>SDPException</tt>.
24 */
25 public SDPParseException() {
26
27 super();
28 }
29
30 /**
31 * Creates a new <tt>SDPException</tt>.
32 *
33 * @param message the exception message
34 */
35 public SDPParseException(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 SDPParseException(final String message, final Throwable cause) {
47
48 super(message, cause);
49 }
50
51 }