mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Exception annotation
This commit is contained in:
parent
3d68caed6b
commit
636427ac6b
@ -1,5 +1,8 @@
|
|||||||
package com.volmit.iris.util.decree.exceptions;
|
package com.volmit.iris.util.decree.exceptions;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thrown when classes are instantiated that fail because of a missing or faulty decree component
|
||||||
|
*/
|
||||||
public class DecreeInstanceException extends Exception {
|
public class DecreeInstanceException extends Exception {
|
||||||
public DecreeInstanceException(String message){
|
public DecreeInstanceException(String message){
|
||||||
super(message);
|
super(message);
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
|
|
||||||
package com.volmit.iris.util.decree.exceptions;
|
package com.volmit.iris.util.decree.exceptions;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thrown when a decree parameter is parsed, but parsing fails
|
||||||
|
*/
|
||||||
public class DecreeParsingException extends Exception{
|
public class DecreeParsingException extends Exception{
|
||||||
public DecreeParsingException(String message) {
|
public DecreeParsingException(String message) {
|
||||||
super(message);
|
super(message);
|
||||||
|
@ -18,6 +18,10 @@
|
|||||||
|
|
||||||
package com.volmit.iris.util.decree.exceptions;
|
package com.volmit.iris.util.decree.exceptions;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thrown when more than one option is available for a singular mapping<br>
|
||||||
|
* Like having a hashmap where one input maps to two outputs.
|
||||||
|
*/
|
||||||
public class DecreeWhichException extends Exception{
|
public class DecreeWhichException extends Exception{
|
||||||
public DecreeWhichException() {
|
public DecreeWhichException() {
|
||||||
super("More than one option for the entered input");
|
super("More than one option for the entered input");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user