Package org.openstreetmap.josm.io
Class OsmReader.OsmParsingCanceledException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.xml.stream.XMLStreamException
-
- org.openstreetmap.josm.io.XmlStreamParsingException
-
- org.openstreetmap.josm.io.OsmReader.OsmParsingCanceledException
-
- All Implemented Interfaces:
Serializable
,ImportCancelException
- Enclosing class:
- OsmReader
private static final class OsmReader.OsmParsingCanceledException extends XmlStreamParsingException implements ImportCancelException
Exception thrown after user cancelation.
-
-
Field Summary
-
Fields inherited from class javax.xml.stream.XMLStreamException
location, nested
-
-
Constructor Summary
Constructors Constructor Description OsmParsingCanceledException(String msg, Location location)
Constructs a newOsmParsingCanceledException
.
-
Method Summary
-
Methods inherited from class org.openstreetmap.josm.io.XmlStreamParsingException
getMessage
-
Methods inherited from class javax.xml.stream.XMLStreamException
getLocation, getNestedException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
OsmParsingCanceledException
OsmParsingCanceledException(String msg, Location location)
Constructs a newOsmParsingCanceledException
.- Parameters:
msg
- The error messagelocation
- The parser location
-
-