Class AbstractFunctionSectionSource.ObjectForMethod
- java.lang.Object
-
- net.officefloor.plugin.section.clazz.AbstractFunctionSectionSource.ObjectForMethod
-
- Enclosing class:
- AbstractFunctionSectionSource
protected class AbstractFunctionSectionSource.ObjectForMethod extends java.lang.Object
Object
forMethod
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
errorMessage
Error message for failing to obtain theObject
for theMethod
.protected SectionManagedObject
object
Object
forMethod
.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ObjectForMethod(java.lang.String errorMessage, java.lang.Throwable cause)
Failed to obtainSectionManagedObject
.protected
ObjectForMethod(SectionManagedObject object)
Successfully obtainedSectionManagedObject
.
-
-
-
Field Detail
-
object
protected final SectionManagedObject object
Object
forMethod
.
-
errorMessage
protected final java.lang.String errorMessage
Error message for failing to obtain theObject
for theMethod
.
-
-
Constructor Detail
-
ObjectForMethod
protected ObjectForMethod(SectionManagedObject object)
Successfully obtainedSectionManagedObject
.- Parameters:
object
-SectionManagedObject
.
-
ObjectForMethod
protected ObjectForMethod(java.lang.String errorMessage, java.lang.Throwable cause)
Failed to obtainSectionManagedObject
.- Parameters:
errorMessage
- Error message.cause
- Possible cause for error. May benull
.
-
-