Package org.apache.sling.models.factory
Class MissingElementsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.sling.models.factory.MissingElementsException
-
- All Implemented Interfaces:
java.io.Serializable
@ProviderType public final class MissingElementsException extends java.lang.RuntimeException
Exception which is triggered whenever a Sling Model cannot be instantiated due to some missing elements (i.e. required fields/methods/constructor parameters could not be injected). Contains a number ofMissingElementException
s.- See Also:
ModelFactory
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MissingElementsException(java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMissingElementExceptions(MissingElementException e)
java.util.Collection<MissingElementException>
getMissingElements()
boolean
isEmpty()
-
-
-
Method Detail
-
addMissingElementExceptions
public void addMissingElementExceptions(MissingElementException e)
-
isEmpty
public boolean isEmpty()
-
getMissingElements
public java.util.Collection<MissingElementException> getMissingElements()
-
-