explicitly added implements Serializable to make ParseException

serializable to GWT
This commit is contained in:
Axel Uhl committed 2012-01-03 16:54:31 +01:00
1 parent 1e0bcd5ec1
commit 4156a6b3db
1 file changed
+3 -1
+3 -1
View File
@@ -1,12 +1,14 @@
package org.json.simple.parser;
import java.io.Serializable;
/**
* ParseException explains why and where the error occurs in source JSON text.
*
* @author FangYidong<fangyidong@yahoo.com.cn>
*
*/
public class ParseException extends Exception {
public class ParseException extends Exception implements Serializable {
private static final long serialVersionUID = -7880698968187728548L;
public static final int ERROR_UNEXPECTED_CHAR = 0;