Package lumis.portal.structure.sync
Class InvalidStructureVersionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- lumis.portal.structure.sync.InvalidStructureFileException
-
- lumis.portal.structure.sync.InvalidStructureVersionException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidStructureVersionException extends InvalidStructureFileException
Exception thrown when a structure file is not of a compatible version.- Since:
- 7.0.0
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidStructureVersionException(java.lang.String currentVersion)
Constructs a new exception indicating the structure is not of a compatible version.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvalidStructureVersionException
findInvalidStructureVersionException(java.lang.Throwable t)
Search byInvalidStructureVersionException
instance onexception
cause recursively and returns it if found, otherwise returnsnull
.java.lang.String
getStructureVersion()
Returns the current structure invalid version.
-
-
-
Method Detail
-
getStructureVersion
public java.lang.String getStructureVersion()
Returns the current structure invalid version.- Returns:
- the current structure invalid version.
- Since:
- 7.0.0
-
findInvalidStructureVersionException
public static InvalidStructureVersionException findInvalidStructureVersionException(java.lang.Throwable t)
Search byInvalidStructureVersionException
instance onexception
cause recursively and returns it if found, otherwise returnsnull
.- Parameters:
t
- the exception.- Returns:
- returns an
InvalidStructureVersionException
instance if found, otherwise returnsnull
. - Since:
- 7.0.0
-
-