HostException

public final class HostException extends RuntimeException


Exceptions that happen on calls to the host.

Summary

Public constructors

Creates an instance of HostException with the given cause.

Creates an instance of HostException with the given message.

Creates an instance of HostException with the given message.

Inherited methods

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] stackTrace)
String

Public constructors

HostException

Added in 1.0.0
public HostException(@NonNull Throwable cause)

Creates an instance of HostException with the given cause.

Parameters
@NonNull Throwable cause

the originating cause of the exception

HostException

Added in 1.0.0
public HostException(@NonNull String message)

Creates an instance of HostException with the given message.

Parameters
@NonNull String message

the exception message

HostException

Added in 1.0.0
public HostException(@NonNull String message, @NonNull Throwable cause)

Creates an instance of HostException with the given message.

Parameters
@NonNull String message

the exception message

@NonNull Throwable cause

the originating cause of the exception