public class OCastInputSettingsError implements LoggableError
Represents an error from the input settings service.
Constructor and Description |
---|
OCastInputSettingsError(OCastInputSettingsError.Status status,
java.lang.String message,
java.lang.Throwable cause)
Creates an
class OCastInputSettingsError . |
OCastInputSettingsError(OCastError error)
Creates an instance of
class OCastInputSettingsError from a generic class OCastError . |
Modifier and Type | Method and Description |
---|---|
OCastInputSettingsError.Status |
component1()
The error status.
|
java.lang.String |
component2()
The error message.
|
java.lang.Throwable |
component3()
The cause of the error,
|
OCastInputSettingsError |
copy(OCastInputSettingsError.Status status,
java.lang.String message,
java.lang.Throwable cause)
Creates an
class OCastInputSettingsError . |
boolean |
equals(java.lang.Object p) |
java.lang.Throwable |
getCause()
The cause of the error,
|
java.lang.String |
getMessage()
The error message.
|
OCastInputSettingsError.Status |
getStatus()
The error status.
|
int |
hashCode() |
java.lang.String |
toString() |
getCause, getMessage
public OCastInputSettingsError(@NotNull OCastInputSettingsError.Status status, @NotNull java.lang.String message, @Nullable java.lang.Throwable cause)
Creates an class OCastInputSettingsError
.
status
- The error status.message
- The error message.cause
- The cause of the error, if any.class OCastInputSettingsError
public OCastInputSettingsError(@NotNull OCastError error)
Creates an instance of class OCastInputSettingsError
from a generic class OCastError
.
error
- The generic OCast error.class OCastInputSettingsError
,
class OCastError
@NotNull public OCastInputSettingsError.Status getStatus()
The error status.
@NotNull public java.lang.String getMessage()
The error message.
@Nullable public java.lang.Throwable getCause()
The cause of the error,
if any.
@NotNull public OCastInputSettingsError.Status component1()
The error status.
@NotNull public java.lang.String component2()
The error message.
@Nullable public java.lang.Throwable component3()
The cause of the error,
if any.
@NotNull public OCastInputSettingsError copy(@NotNull OCastInputSettingsError.Status status, @NotNull java.lang.String message, @Nullable java.lang.Throwable cause)
Creates an class OCastInputSettingsError
.
class OCastInputSettingsError
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable java.lang.Object p)