1 /*
2 * $HeadURL: /cvsroot/insight/Insight/remote-protocol/src/com/mindtree/insight/remoteprotocol/PacketDataSizeOverLimitsException.java,v $
3 * $Date: 2005/08/09 18:39:17 $
4 * $Revision: 1.1 $
5 * $Author: m1001025 $
6 *
7 * Copyright (c) 2005 MindTree Consulting Ltd.
8 *
9 * This file is part of Insight Remote Protocol Library.
10 *
11 * Insight Remote Protocol Library is free software: you can redistribute it
12 * and/or modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation, either version 3 of the License,
14 * or (at your option) any later version.
15 *
16 * Insight Remote Protocol Library is distributed in the hope that it will be
17 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
19 * Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License along with
22 * Insight Remote Protocol Library. If not, see <http://www.gnu.org/licenses/>.
23 */
24 package com.mindtree.techworks.insight.remoteprotocol;
25
26 /**
27 * This is an exception thrown to indicate that there is more data than is
28 * allowed in the packet.
29 *
30 * @see com.mindtree.techworks.insight.remoteprotocol.spi.PacketDataContent#MAX_PACKET_DATA_SIZE
31 *
32 * @author <a href="mailto:bindul_bhowmik@mindtree.com">Bindul Bhowmik</a>
33 * @version $Revision: $ $Date: $
34 */
35 public class PacketDataSizeOverLimitsException extends RemoteProtocolException {
36
37 /**
38 * UID for the serialized version
39 */
40 private static final long serialVersionUID = 1054259848085808894L;
41
42 /**
43 * Creates an instance of this class
44 *
45 * @param message
46 * The packet data size is over limit exception
47 */
48 public PacketDataSizeOverLimitsException(String message) {
49
50 super(message);
51 }
52
53 }