An interface for a collection of Problem objects, with multiple overloaded methods for adding errors, warnings, and
informational messages.

Method Summary

void

addError(I18n message,
Object... params)
Add an error message with the parameters that should be used when localizing the message.

void

addError(int code,
I18n message,
Object... params)
Add an error message with the parameters that should be used when localizing the message.

void

addError(int code,
String resource,
String location,
I18n message,
Object... params)
Add an error message with a description of the resource, its location, and the parameters that should be used when
localizing the message

void

addError(String resource,
String location,
I18n message,
Object... params)
Add an error message with a description of the resource, its location, and the parameters that should be used when
localizing the message

void

addError(Throwable throwable,
I18n message,
Object... params)
Add an error exception and message with the parameters that should be used when localizing the message.

void

addError(Throwable throwable,
int code,
I18n message,
Object... params)
Add an error exception and message with the parameters that should be used when localizing the message.

void

addError(Throwable throwable,
int code,
String resource,
String location,
I18n message,
Object... params)
Add an error exception and message with a description of the resource, its location, and the parameters that should be used
when localizing the message

void

addError(Throwable throwable,
String resource,
String location,
I18n message,
Object... params)
Add an error exception and message with a description of the resource, its location, and the parameters that should be used
when localizing the message

void

addInfo(I18n message,
Object... params)
Add a informational message with the parameters that should be used when localizing the message.

void

addInfo(int code,
I18n message,
Object... params)
Add a informational message with the parameters that should be used when localizing the message.

void

addInfo(int code,
String resource,
String location,
I18n message,
Object... params)
Add an informational message with a description of the resource, its location, and the parameters that should be used when
localizing the message

void

addInfo(String resource,
String location,
I18n message,
Object... params)
Add an informational message with a description of the resource, its location, and the parameters that should be used when
localizing the message

void

addInfo(Throwable throwable,
I18n message,
Object... params)
Add an informational exception and message with the parameters that should be used when localizing the message.

void

addInfo(Throwable throwable,
int code,
I18n message,
Object... params)
Add a informational exception and message with the parameters that should be used when localizing the message.

void

addInfo(Throwable throwable,
int code,
String resource,
String location,
I18n message,
Object... params)
Add an informational exception and message with a description of the resource, its location, and the parameters that should
be used when localizing the message

void

addInfo(Throwable throwable,
String resource,
String location,
I18n message,
Object... params)
Add an informational exception and message with a description of the resource, its location, and the parameters that should
be used when localizing the message

void

addWarning(I18n message,
Object... params)
Add a warning message with the parameters that should be used when localizing the message.

void

addWarning(int code,
I18n message,
Object... params)
Add a warning message with the parameters that should be used when localizing the message.

void

addWarning(int code,
String resource,
String location,
I18n message,
Object... params)
Add a warning message with a description of the resource, its location, and the parameters that should be used when
localizing the message

void

addWarning(String resource,
String location,
I18n message,
Object... params)
Add a warning message with a description of the resource, its location, and the parameters that should be used when
localizing the message

void

addWarning(Throwable throwable,
I18n message,
Object... params)
Add a warning exception and message with the parameters that should be used when localizing the message.

void

addWarning(Throwable throwable,
int code,
I18n message,
Object... params)
Add a warning exception and message with the parameters that should be used when localizing the message.

void

addWarning(Throwable throwable,
int code,
String resource,
String location,
I18n message,
Object... params)
Add a warning exception and message with a description of the resource, its location, and the parameters that should be
used when localizing the message

void

addWarning(Throwable throwable,
String resource,
String location,
I18n message,
Object... params)
Add a warning exception and message with a description of the resource, its location, and the parameters that should be
used when localizing the message

boolean

hasErrors()
Determine if there is at least one error in this collection.

boolean

hasInfo()
Determine if there is at least one informational problem in this collection.