Add MassiveException.hasMessages.

This commit is contained in:
Olof Larsson 2015-02-15 08:31:08 +01:00
parent 536b716d0e
commit 08937899a8

View File

@ -21,6 +21,7 @@ public class MassiveException extends Exception
// -------------------------------------------- //
protected List<String> messages = new MassiveList<String>();
public boolean hasMessages() { return ! this.messages.isEmpty(); }
public List<String> getMessages() { return this.messages; }
@Override