Skip to content

Commit

Permalink
Delete unused classes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Dec 17, 2023
1 parent 8562e64 commit 6404430
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
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() + ".");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
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() + ".");
}
}

0 comments on commit 6404430

Please sign in to comment.