Package org.bukkit.plugin
Class UnknownDependencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.bukkit.plugin.UnknownDependencyException
- All Implemented Interfaces:
- Serializable
Thrown when attempting to load an invalid Plugin file
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs a new UnknownDependencyExceptionUnknownDependencyException(String message) Constructs a new UnknownDependencyException with the given messageUnknownDependencyException(Throwable throwable) Constructs a new UnknownDependencyException based on the given ExceptionUnknownDependencyException(Throwable throwable, String message) Constructs a new UnknownDependencyException based on the given ExceptionUnknownDependencyException(Collection<String> missingDependencies, @NotNull String pluginName) Create a newUnknownDependencyExceptionwith a message informing about which dependencies are missing for what plugin.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
UnknownDependencyExceptionConstructs a new UnknownDependencyException based on the given Exception- Parameters:
- throwable- Exception that triggered this Exception
 
- 
UnknownDependencyExceptionConstructs a new UnknownDependencyException with the given message- Parameters:
- message- Brief message explaining the cause of the exception
 
- 
UnknownDependencyExceptionConstructs a new UnknownDependencyException based on the given Exception- Parameters:
- throwable- Exception that triggered this Exception
- message- Brief message explaining the cause of the exception
 
- 
UnknownDependencyExceptionpublic UnknownDependencyException()Constructs a new UnknownDependencyException
- 
UnknownDependencyExceptionpublic UnknownDependencyException(@NotNull Collection<String> missingDependencies, @NotNull @NotNull String pluginName) Create a newUnknownDependencyExceptionwith a message informing about which dependencies are missing for what plugin.- Parameters:
- missingDependencies- missing dependencies
- pluginName- plugin which is missing said dependencies
 
 
-