Add MassiveException.hasMessages.
This commit is contained in:
parent
536b716d0e
commit
08937899a8
@ -21,6 +21,7 @@ public class MassiveException extends Exception
|
|||||||
// -------------------------------------------- //
|
// -------------------------------------------- //
|
||||||
|
|
||||||
protected List<String> messages = new MassiveList<String>();
|
protected List<String> messages = new MassiveList<String>();
|
||||||
|
public boolean hasMessages() { return ! this.messages.isEmpty(); }
|
||||||
public List<String> getMessages() { return this.messages; }
|
public List<String> getMessages() { return this.messages; }
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user