software.amazon.ion.InvalidSystemSymbolException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ion-java Show documentation
Show all versions of ion-java Show documentation
A Java implementation of the Amazon Ion data notation.
/*
* Copyright (c) 2007-2013 Amazon.com, Inc. All rights reserved.
*/
package software.amazon.ion;
/**
* An error caused by use of an invalid symbol starting with
* "$ion_"
.
*/
public class InvalidSystemSymbolException
extends IonException
{
private static final long serialVersionUID = 2206499395645594047L;
private String myBadSymbol;
public InvalidSystemSymbolException(String badSymbol)
{
super("Invalid system symbol '" + badSymbol + "'");
myBadSymbol = badSymbol;
}
public String getBadSymbol()
{
return myBadSymbol;
}
}