2 * Copyright (c) 2004 University of Murcia. All rights reserved.
\r
3 * --------------------------------------------------------------
\r
4 * For more information, please see <http://www.umu.euro6ix.org/>.
\r
7 package org.umu.cops.prpdp;
\r
10 * Exception class for PDP errors
\r
12 * @version COPSPdpException.java, v 2.00 2004
\r
16 public class COPSPdpException extends Exception {
\r
19 final static int GENERAL_ERROR = 0x00000001;
\r
22 * Creates a <tt>COPSPdpException</tt> with the given message.
\r
23 * @param msg Exception message
\r
25 public COPSPdpException(String msg) {
\r
31 * Creates a <tt>COPSPdpException</tt> with the given message and return code.
\r
32 * @param msg Exception message
\r
33 * @param retCode Return code
\r
35 public COPSPdpException(String msg, int retCode) {
\r
41 * Gets the return code of the exception
\r
42 * @return Exception's return code
\r
44 public int returnCode() {
\r