Package org.elasticsearch.common.inject
Class ProvisionException
org.elasticsearch.common.inject.ProvisionException
- All Implemented Interfaces:
public final class ProvisionException
extends
Indicates that there was a runtime failure while providing an instance.
- Since:
- 2.0
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorDescription<Message> messages)
Creates a ConfigurationException containingmessages
.message)
message, cause)
-
Method Summary
Modifier and TypeMethodDescription<Message>
Returns messages for the errors that caused this exception.Methods inherited from class java.lang.
, , , , , , , , , , ,
Methods inherited from class java.lang.
, , , , , , , , ,
-
Constructor Details
-
ProvisionException
Creates a ConfigurationException containingmessages
. -
ProvisionException
public ProvisionException( message, cause) -
ProvisionException
public ProvisionException( message)
-
-
Method Details
-
getErrorMessages
Returns messages for the errors that caused this exception. -
getMessage
public getMessage()- Overrides:
in class
-