Package net.kyori.adventure.util
Interface ComponentMessageThrowable
-
public interface ComponentMessageThrowable
- Since:
- 4.0.0
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable Component
componentMessage()
Gets the message.static @Nullable Component
getMessage(@Nullable Throwable throwable)
static @Nullable Component
getOrConvertMessage(@Nullable Throwable throwable)
-
-
-
Method Detail
-
getMessage
@Nullable static @Nullable Component getMessage(@Nullable @Nullable Throwable throwable)
- Parameters:
throwable
- the throwable- Returns:
- the message
- Since:
- 4.0.0
-
getOrConvertMessage
@Nullable static @Nullable Component getOrConvertMessage(@Nullable @Nullable Throwable throwable)
- Parameters:
throwable
- the throwable- Returns:
- the message
- Since:
- 4.0.0
-
componentMessage
@Nullable @Nullable Component componentMessage()
Gets the message.- Returns:
- the message
- Since:
- 4.0.0
-
-