org.jacoco.core.data
Class IncompatibleExecDataVersionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.jacoco.core.data.IncompatibleExecDataVersionException
- All Implemented Interfaces:
- Serializable
public class IncompatibleExecDataVersionException
- extends IOException
Signals that execution data in an incompatible version was tried to read.
- See Also:
- Serialized Form
Method Summary |
int |
getActualVersion()
Gets the actual version found in the execution data. |
int |
getExpectedVersion()
Gets the version expected in the execution data which can be read by this
version of JaCoCo. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IncompatibleExecDataVersionException
public IncompatibleExecDataVersionException(int actualVersion)
- Creates a new exception to flag version mismatches in execution data.
- Parameters:
actualVersion
- version found in the exec data
getExpectedVersion
public int getExpectedVersion()
- Gets the version expected in the execution data which can be read by this
version of JaCoCo.
- Returns:
- expected version in execution data
getActualVersion
public int getActualVersion()
- Gets the actual version found in the execution data.
- Returns:
- actual version in execution data
Copyright © 2009–2024 Mountainminds GmbH & Co. KG. All rights reserved.