|
|||||||||
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.ParseException
public class ParseException
The InstallException occurres if something goes wrong while installing a plugin via Updater
.
Constructor Summary | |
---|---|
ParseException(org.bukkit.plugin.Plugin plugin,
java.lang.Exception cause,
java.lang.String string)
Creates a InstallException filled with a cause as an Exception for the error. |
|
ParseException(org.bukkit.plugin.Plugin plugin,
java.lang.Exception cause,
java.lang.String string,
java.lang.String message)
Creates a InstallException filled with a cause as an Exception for the error and an informational message. |
Method Summary | |
---|---|
java.lang.Exception |
getCause()
Returns the cause for the error. |
java.lang.String |
getString()
Returns the String which could not be parsed. |
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 ParseException(org.bukkit.plugin.Plugin plugin, java.lang.Exception cause, java.lang.String string)
Exception
for the error.
plugin
- The causing Plugin
.cause
- The cause for the error.string
- String
which could not be parsed.public ParseException(org.bukkit.plugin.Plugin plugin, java.lang.Exception cause, java.lang.String string, java.lang.String message)
Exception
for the error and an informational message.
plugin
- The causing Plugin
.cause
- The cause for the error.string
- The String
which could not be parsed.message
- The informational message.Method Detail |
---|
public java.lang.Exception getCause()
getCause
in class java.lang.Throwable
Exception
.public java.lang.String getString()
String
which could not be parsed.
String
which could not be parsed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |