Moved all identical attributes and methods from COPSPdpConnection & COPSPepConnection...
[packetcable.git] / packetcable-driver / src / main / java / org / umu / cops / prpdp / COPSPdpException.java
1 /*
2  * Copyright (c) 2004 University of Murcia.  All rights reserved.
3  * --------------------------------------------------------------
4  * For more information, please see <http://www.umu.euro6ix.org/>.
5  */
6
7 package org.umu.cops.prpdp;
8
9 import org.umu.cops.stack.COPSException;
10
11 /**
12  * Exception class for PDP errors
13  *
14  * @version COPSPdpException.java, v 2.00 2004
15  *
16  */
17
18 public class COPSPdpException extends COPSException {
19
20     /**
21     * Creates a <tt>COPSPdpException</tt> with the given message.
22     * @param msg    Exception message
23     */
24     public COPSPdpException(String msg) {
25         super(msg);
26     }
27
28     /**
29      * Creates a <tt>COPSPdpException</tt> with the given message and return code.
30      * @param msg       Exception message
31      * @param retCode   Return code
32      */
33     public COPSPdpException(String msg, int retCode) {
34         super(msg, retCode);
35     }
36
37     /**
38      * Creates a <tt>COPSPdpException</tt> with the given message and throwable.
39      * @param msg       Exception message
40      * @param t         the Throwable
41      */
42     public COPSPdpException(String msg, Throwable t) {
43         super(msg, t);
44     }
45
46 }