01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdi.internal.spy;
11:
12: /**
13: * Exception throws when the spy have not enough information form correctly
14: * parse the data.
15: */
16: public class UnableToParseDataException extends Exception {
17:
18: /**
19: * All serializable objects should have a stable serialVersionUID
20: */
21: private static final long serialVersionUID = 1L;
22:
23: private byte[] fRemainingData;
24:
25: public UnableToParseDataException(String message,
26: byte[] remainingData) {
27: super (message);
28: fRemainingData = remainingData;
29: }
30:
31: public byte[] getRemainingData() {
32: return fRemainingData;
33: }
34:
35: }
|