Update copyright year.

This commit is contained in:
Paulo Gustavo Veiga
2012-10-04 20:48:01 -03:00
committed by Paulo Gustavo Veiga
parent 6303ba93c7
commit af8d833356
260 changed files with 650 additions and 278 deletions

View File

@@ -6,8 +6,11 @@ import org.springframework.context.MessageSource;
import java.util.Locale;
abstract public class ClientException extends WiseMappingException {
public ClientException(@NotNull String message) {
private Severity severity;
public ClientException(@NotNull String message, @NotNull Severity severity) {
super(message);
this.severity = severity;
}
protected abstract
@@ -17,4 +20,8 @@ abstract public class ClientException extends WiseMappingException {
public String getMessage(@NotNull final MessageSource messageSource, final @NotNull Locale locale) {
return messageSource.getMessage(this.getMsgBundleKey(), null, locale);
}
public Severity getSeverity() {
return this.severity;
}
}