Class OfficeFloorVersionIncompatibilityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.officefloor.compile.impl.adapt.OfficeFloorVersionIncompatibilityException
- All Implemented Interfaces:
Serializable
Indicates the adapting type is incompatible.
- Author:
- Daniel Sagenschneider
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionnewTypeInaccessibleException(InaccessibleObjectException cause, Object implementation, String methodName, Class<?>[] parameterTypes) Constructs and throws theOfficeFloorVersionIncompatibilityException.newTypeIncompatibilityException(Object implementation, String methodName, Class<?>[] parameterTypes) Constructs and throws theOfficeFloorVersionIncompatibilityException.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
newTypeIncompatibilityException
public static OfficeFloorVersionIncompatibilityException newTypeIncompatibilityException(Object implementation, String methodName, Class<?>[] parameterTypes) Constructs and throws theOfficeFloorVersionIncompatibilityException.- Parameters:
implementation- Implementation.methodName- Name of the incompatibleMethod.parameterTypes- Parameter types for the incompatibleMethod.- Returns:
- OfficeFloorVersionIncompatibilityException The
OfficeFloorVersionIncompatibilityExceptionto throw.
-
newTypeInaccessibleException
public static OfficeFloorVersionIncompatibilityException newTypeInaccessibleException(InaccessibleObjectException cause, Object implementation, String methodName, Class<?>[] parameterTypes) Constructs and throws theOfficeFloorVersionIncompatibilityException.- Parameters:
cause-InaccessibleObjectException.implementation- Implementation.methodName- Name of the incompatibleMethod.parameterTypes- Parameter types for the incompatibleMethod.- Returns:
- OfficeFloorVersionIncompatibilityException The
OfficeFloorVersionIncompatibilityExceptionto throw.
-