Package net.dv8tion.jda.api.exceptions
Class DetachedEntityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.UnsupportedOperationException
net.dv8tion.jda.api.exceptions.DetachedEntityException
- All Implemented Interfaces:
Serializable
Indicates that the operation cannot be done on a detached entity.
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new DetachedEntityExceptionDetachedEntityException
(String reason) Creates a new DetachedEntityException -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DetachedEntityException
public DetachedEntityException()Creates a new DetachedEntityException -
DetachedEntityException
Creates a new DetachedEntityException- Parameters:
reason
- The reason for this Exception
-