public final class

ProvisionException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.google.inject.ProvisionException

Class Overview

Indicates that there was a runtime failure while providing an instance.

Summary

Public Constructors
ProvisionException(Iterable<Message> messages)
Creates a ProvisionException containing messages.
ProvisionException(String message)
ProvisionException(String message, Throwable cause)
Public Methods
Collection<Message> getErrorMessages()
Returns messages for the errors that caused this exception.
String getMessage()
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public ProvisionException (Iterable<Message> messages)

Creates a ProvisionException containing messages.

public ProvisionException (String message)

public ProvisionException (String message, Throwable cause)

Public Methods

public Collection<Message> getErrorMessages ()

Returns messages for the errors that caused this exception.

public String getMessage ()

Since: API Level