Package net.kyori.adventure.util
Interface ComponentMessageThrowable
public interface ComponentMessageThrowable
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescription@Nullable Component
Gets the message.static @Nullable Component
getMessage
(@Nullable Throwable throwable) static @Nullable Component
getOrConvertMessage
(@Nullable Throwable throwable)
-
Method Details
-
getMessage
- Parameters:
throwable
- the throwable- Returns:
- the message
- Since:
- 4.0.0
-
getOrConvertMessage
- Parameters:
throwable
- the throwable- Returns:
- the message
- Since:
- 4.0.0
-
componentMessage
Gets the message.- Returns:
- the message
- Since:
- 4.0.0
-