public class SpectrumReader.IncompatibleSpectrumVersionException extends IOException
| Constructor and Description |
|---|
IncompatibleSpectrumVersionException(int actualVersion)
Creates a new exception to flag version mismatches in execution data.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getActualVersion()
Gets the actual version found in the spectrum data.
|
int |
getExpectedVersion()
Gets the version expected in the spectrum data which can be read by this version of GZoltar.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IncompatibleSpectrumVersionException(int actualVersion)
actualVersion - version found in the spectrum datapublic int getExpectedVersion()
public int getActualVersion()
Copyright © 2010–2019 GZoltar. All rights reserved.