mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2025-03-14 07:00:03 -04:00
parent
6404430c64
commit
d31ca4fee6
2 changed files with 0 additions and 26 deletions
src/main/java/com/github/steveice10/mc/protocol/data
|
@ -1,13 +0,0 @@
|
|||
package com.github.steveice10.mc.protocol.data;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public class UnmappedKeyException extends IllegalArgumentException {
|
||||
private Enum<?> key;
|
||||
private Class<?> valueType;
|
||||
|
||||
public UnmappedKeyException(Object key, Class<?> valueType) {
|
||||
super("Key " + key + " has no mapping for value class " + valueType.getName() + ".");
|
||||
}
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
package com.github.steveice10.mc.protocol.data;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public class UnmappedValueException extends IllegalArgumentException {
|
||||
private Object value;
|
||||
private Class<?> keyType;
|
||||
|
||||
public UnmappedValueException(Object value, Class<?> keyType) {
|
||||
super("Value " + value + " has no mapping for key class " + keyType.getName() + ".");
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue