Class FriendlyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.sedmelluq.discord.lavaplayer.tools.FriendlyException
-
- All Implemented Interfaces:
java.io.Serializable
public class FriendlyException extends java.lang.RuntimeExceptionAn exception with a friendly message.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFriendlyException.SeveritySeverity levels for FriendlyException
-
Field Summary
Fields Modifier and Type Field Description FriendlyException.SeverityseveritySeverity of the exception
-
Constructor Summary
Constructors Constructor Description FriendlyException(java.lang.String friendlyMessage, FriendlyException.Severity severity, java.lang.Throwable cause)
-
-
-
Field Detail
-
severity
public final FriendlyException.Severity severity
Severity of the exception
-
-
Constructor Detail
-
FriendlyException
public FriendlyException(java.lang.String friendlyMessage, FriendlyException.Severity severity, java.lang.Throwable cause)- Parameters:
friendlyMessage- A message which is understandable to end-usersseverity- Severity of the exceptioncause- The cause of the exception with technical details
-
-