Add MassiveException.hasMessages.
This commit is contained in:
1 parent
536b716d0e
commit
08937899a8
1 file changed
+1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user