public interface JoinResult
Challenger
attempting to join a round.Modifier and Type | Interface and Description |
---|---|
static class |
JoinResult.Status
Represents a specific reason for a player failing to join a
Round . |
Modifier and Type | Method and Description |
---|---|
Challenger |
getChallenger()
Returns the new
Challenger object created by the join event. |
JoinResult.Status |
getStatus()
Returns the
JoinResult.Status of this JoinResult . |
Throwable |
getThrowable()
Returns the
Throwable which caused an
INTERNAL_ERROR status. |
Challenger getChallenger() throws IllegalStateException
Challenger
object created by the join event.Challenger
object created by the join eventIllegalStateException
- If getStatus()
returns
anything other than JoinResult.Status.SUCCESS
JoinResult.Status getStatus()
JoinResult.Status
of this JoinResult
.JoinResult.Status
of this JoinResult
Throwable getThrowable() throws IllegalStateException
Throwable
which caused an
INTERNAL_ERROR
status.Throwable
which caused an
INTERNAL_ERROR
status.IllegalStateException
- If getStatus()
returns
anything other than JoinResult.Status.SUCCESS