KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdi > internal > spy > UnableToParseDataException


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdi.internal.spy;
12
13
14 /**
15  * Exception throws when the spy have not enough information form correctly
16  * parse the data.
17  */

18 public class UnableToParseDataException extends Exception JavaDoc {
19
20     /**
21      * All serializable objects should have a stable serialVersionUID
22      */

23     private static final long serialVersionUID = 1L;
24     
25     private byte[] fRemainingData;
26
27     public UnableToParseDataException(String JavaDoc message, byte[] remainingData) {
28         super(message);
29         fRemainingData= remainingData;
30     }
31     
32     public byte[] getRemainingData() {
33         return fRemainingData;
34     }
35
36 }
37
Popular Tags