sdk-search / com.tomtom.online.sdk.search.api / SearchError / <init>

<init>

SearchError()

Default constructor.

SearchError(message: String!)

Constructs a new runtime exception with specified message if there will be any issue with search response.

Parameters

message - String!: message that should be thrown.

SearchError(message: String!, cause: Throwable!)

Constructs a new runtime exception with specified message and cause if there will be any issue with search response.

Parameters

message - String!: message to be thrown.

cause - Throwable!: cause of the search error.

SearchError(cause: Throwable!)

Constructs a new runtime exception with the specified cause.

Parameters

cause - Throwable!: cause of the search error.