com.google.inject
Class ProvisionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.inject.ProvisionException
- All Implemented Interfaces:
- Serializable
public final class ProvisionException
- extends RuntimeException
Indicates a failure to provide an instance.
- See Also:
- Serialized Form
ProvisionException
public ProvisionException(String message,
Throwable cause)
ProvisionException
public ProvisionException(String message)
getErrorMessages
public Collection<Message> getErrorMessages()
- Gets the error messages which resulted in this exception.
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable