complete javadoc
Some checks failed
Publish to snapshot maven / build (push) Failing after 17s

This commit is contained in:
moehreag 2024-09-02 18:22:12 +02:00
parent b3085264ee
commit bb255e3612
2 changed files with 21 additions and 0 deletions

View file

@ -1,15 +1,31 @@
package dev.frogmc.frogloader.api.exception;
/**
* Exception if an extension cannot be resolved or instantiated
*/
public class ModExtensionResolutionException extends Exception {
/**
* Instantiate this exception
* @param message A message describing this exception
*/
public ModExtensionResolutionException(String message) {
super(message);
}
/**
* Instantiate this exception
* @param cause The cause of this exception
*/
public ModExtensionResolutionException(Throwable cause) {
super(cause);
}
/**
* Instantiate this exception
* @param message A message describing this exception
* @param cause The cause of this exception
*/
public ModExtensionResolutionException(String message, Throwable cause) {
super(message, cause);
}

View file

@ -4,6 +4,11 @@ import java.util.Collection;
import org.jetbrains.annotations.Nullable;
/**
* Represents dependencies declared by a mod at runtime.
* @see ModProperties
* @see ModExtensions
*/
public interface ModDependencies {
/**