|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.quartercode.quarterbukkit.api.exception.GameException
com.quartercode.quarterbukkit.api.exception.InstallException
public class InstallException
The InstallException occurres if something goes wrong while installing a plugin via Updater.
| Constructor Summary | |
|---|---|
InstallException(org.bukkit.plugin.Plugin plugin,
Updater updater,
java.lang.Exception cause)
Creates a InstallException filled with the causing Updater and a cause as an Exception for the error. |
|
InstallException(org.bukkit.plugin.Plugin plugin,
Updater updater,
java.lang.Exception cause,
org.bukkit.command.CommandSender causer)
Creates a InstallException filled with the causing Updater, a cause as an Exception for the error and the CommandSender who executed the updater. |
|
InstallException(org.bukkit.plugin.Plugin plugin,
Updater updater,
java.lang.Exception cause,
org.bukkit.command.CommandSender causer,
java.lang.String message)
Creates a InstallException filled with the causing Updater, a cause as an Exception for the error, the CommandSender who executed the updater an an informational
message. |
|
InstallException(org.bukkit.plugin.Plugin plugin,
Updater updater,
java.lang.Exception cause,
java.lang.String message)
Creates a InstallException filled with the causing Updater, a cause as an Exception for the error and an informational message. |
|
| Method Summary | |
|---|---|
java.lang.Exception |
getCause()
Returns the cause for the error. |
org.bukkit.command.CommandSender |
getCauser()
Returns the CommandSender causer. |
Updater |
getUpdater()
Returns the Updater which caused the error. |
| Methods inherited from class com.quartercode.quarterbukkit.api.exception.GameException |
|---|
getPlugin |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InstallException(org.bukkit.plugin.Plugin plugin,
Updater updater,
java.lang.Exception cause)
Updater and a cause as an Exception for the error.
plugin - The causing Plugin.updater - The Updater which caused the error.cause - The cause for the error.
public InstallException(org.bukkit.plugin.Plugin plugin,
Updater updater,
java.lang.Exception cause,
org.bukkit.command.CommandSender causer)
Updater, a cause as an Exception for the error and the CommandSender who executed the updater.
plugin - The causing Plugin.updater - The Updater which caused the error.cause - The cause for the error.causer - The CommandSender who caused the exception.
public InstallException(org.bukkit.plugin.Plugin plugin,
Updater updater,
java.lang.Exception cause,
java.lang.String message)
Updater, a cause as an Exception for the error and an informational message.
plugin - The causing Plugin.updater - The Updater which caused the error.cause - The cause for the error.message - The informational message.
public InstallException(org.bukkit.plugin.Plugin plugin,
Updater updater,
java.lang.Exception cause,
org.bukkit.command.CommandSender causer,
java.lang.String message)
Updater, a cause as an Exception for the error, the CommandSender who executed the updater an an informational
message.
plugin - The causing Plugin.updater - The Updater which caused the error.cause - The cause for the error.causer - The CommandSender who caused the exception.message - The informational message.| Method Detail |
|---|
public Updater getUpdater()
Updater which caused the error.
Updater which caused the error.public java.lang.Exception getCause()
getCause in class java.lang.ThrowableException.public org.bukkit.command.CommandSender getCauser()
CommandSender causer.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||