mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-30 15:57:11 +00:00
explicitly added implements Serializable to make ParseException
serializable to GWT
This commit is contained in:
1 parent
1e0bcd5ec1
commit
4156a6b3db
1 file changed
+3
-1
Executable → Regular
+3
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user