*/
public class BadRequestException extends ServerException {
- private final Errors errors;
+ private final transient Errors errors;
public BadRequestException(String l10nKey, Object... l10nParams) {
super(HTTP_BAD_REQUEST);
private static final Joiner COMMA_JOINER = Joiner.on(',');
// LinkedListMultimap is used to keep order of keys and values
- private final ListMultimap<String, Object> context = LinkedListMultimap.create();
+ private final transient ListMultimap<String, Object> context = LinkedListMultimap.create();
private ContextException(Throwable t) {
super(t);
public class CommandException extends RuntimeException {
- private final Command command;
+ private final transient Command command;
public CommandException(Command command, String message, Throwable throwable) {
super(message + " [command: " + command + "]", throwable);