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.ospep;
\r
10 * COPS PEP Exception
\r
12 * @version COPSPepException.java, v 2.00 2004
\r
15 public class COPSPepException extends Exception {
\r
18 final static int GENERAL_ERROR = 0x00000001;
\r
21 * Creates a <tt>COPSPdpException</tt> with the given message.
\r
22 * @param msg Exception message
\r
25 public COPSPepException(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 COPSPepException(String msg, int retCode) {
\r
41 * Returns the return code of the exception
\r
43 * @return Exception's return code
\r
46 public int returnCode() {
\r