public class InvalidStructureVersionException extends InvalidStructureFileException
Constructor and Description |
---|
InvalidStructureVersionException(String currentVersion,
String expectedVersion)
Constructs a new exception with the specified detail message and cause.
|
InvalidStructureVersionException(String currentVersion,
String expectedVersion,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
Modifier and Type | Method and Description |
---|---|
static InvalidStructureVersionException |
findInvalidStructureVersionException(Throwable t)
Search by
InvalidStructureVersionException instance on exception cause recursively and returns it if found,
otherwise returns null . |
String |
getExpectedVersion()
Returns the expected version.
|
String |
getStructureVersion()
Returns the current structure invalid version.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidStructureVersionException(String currentVersion, String expectedVersion)
currentVersion
- the current version.expectedVersion
- the expected version.public InvalidStructureVersionException(String currentVersion, String expectedVersion, Throwable cause)
currentVersion
- the current version.expectedVersion
- the expected version.cause
- the cause.public String getStructureVersion()
public String getExpectedVersion()
public static InvalidStructureVersionException findInvalidStructureVersionException(Throwable t)
InvalidStructureVersionException
instance on exception
cause recursively and returns it if found,
otherwise returns null
.t
- the exception.InvalidStructureVersionException
instance if found,
otherwise returns null
.LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.