Package com.plotsquared.core.exception
Class PlotSquaredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.plotsquared.core.exception.PlotSquaredException
- All Implemented Interfaces:
Serializable
Internal use only. Used to allow adventure captions to be used in an exception
- Since:
- 7.5.7
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPlotSquaredException(Caption caption) Create a new instance with the given captionPlotSquaredException(Caption caption, Exception cause) Create a new instance with the given caption and cause -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PlotSquaredException
Create a new instance with the given caption- Parameters:
caption- caption
-
PlotSquaredException
Create a new instance with the given caption and cause- Parameters:
caption- captioncause- cause
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-
getCaption
-