public class CreationException extends RuntimeException
Injector. Includes a list of encountered
errors. Clients should catch this exception, log it, and stop execution.| コンストラクタと説明 |
|---|
CreationException(Collection<Message> messages)
Creates a CreationException containing
messages. |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Collection<Message> |
getErrorMessages()
Returns messages for the errors that caused this exception.
|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CreationException(Collection<Message> messages)
messages.public Collection<Message> getErrorMessages()
public String getMessage()
getMessage クラス内 ThrowableCopyright © 2009–2016. All rights reserved.