Package net.officefloor.frame.api.build
Class OfficeFloorBuildException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.officefloor.frame.api.build.OfficeFloorBuildException
- All Implemented Interfaces:
Serializable
Indicates failure to build a
OfficeFloor.- Author:
- Daniel Sagenschneider
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOfficeFloorBuildException(String reason) Initiate with reason.OfficeFloorBuildException(String reason, Throwable cause) Initiate. -
Method Summary
Modifier and TypeMethodDescriptionstatic final OfficeFloorbuildOfficeFloor(OfficeFloorBuilder officeFloorBuilder) Provides the necessary functionality to propagate theOfficeFloorBuildExceptionon the first issue in constructing theOfficeFloor.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OfficeFloorBuildException
Initiate with reason.- Parameters:
reason- Reason.
-
OfficeFloorBuildException
Initiate.- Parameters:
reason- Reason.cause- Cause.
-
-
Method Details
-
buildOfficeFloor
public static final OfficeFloor buildOfficeFloor(OfficeFloorBuilder officeFloorBuilder) throws OfficeFloorBuildException Provides the necessary functionality to propagate the
OfficeFloorBuildExceptionon the first issue in constructing theOfficeFloor.This is a convenience method for
OfficeFloorBuilder.buildOfficeFloor().- Parameters:
officeFloorBuilder-OfficeFloorBuilder.- Returns:
OfficeFloor.- Throws:
OfficeFloorBuildException-OfficeFloorBuildExceptionif failure to constructOfficeFloor.- See Also:
-