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
[Expand]
Inherited Methods |
From class
java.lang.Throwable
synchronized
Throwable
|
fillInStackTrace()
|
Throwable
|
getCause()
|
String
|
getLocalizedMessage()
|
String
|
getMessage()
|
StackTraceElement[]
|
getStackTrace()
|
synchronized
Throwable
|
initCause(Throwable arg0)
|
void
|
printStackTrace()
|
void
|
printStackTrace(PrintStream arg0)
|
void
|
printStackTrace(PrintWriter arg0)
|
void
|
setStackTrace(StackTraceElement[] arg0)
|
String
|
toString()
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0)
|
final
void
|
wait(long arg0, int arg1)
|
|
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
()