public class CreationException
extends java.lang.RuntimeException
Injector
. Includes a list of encountered
errors. Clients should catch this exception, log it, and stop execution.Constructor and Description |
---|
CreationException(java.util.Collection<Message> messages)
Creates a CreationException containing
messages . |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Message> |
getErrorMessages()
Returns messages for the errors that caused this exception.
|
java.lang.String |
getMessage() |
public CreationException(java.util.Collection<Message> messages)
messages
.public java.util.Collection<Message> getErrorMessages()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable