ErrorResponse Classe

  • java.lang.Object
    • com.microsoft.bot.schema.ErrorResponse

public class ErrorResponse

Risposta DELL'API HTTP.

Riepilogo dei costruttori

Costruttore Descrizione
ErrorResponse()

Errore vuotorisposta.

ErrorResponse(Error withError)

ErroreRisposta con errore contenuto.

Riepilogo dei metodi

Modificatore e tipo Metodo e descrizione
Error getError()

Ottenere il valore di errore.

void setError(Error withError)

Impostare il valore di errore.

Metodi ereditati da java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Dettagli costruttore

ErrorResponse

public ErrorResponse()

ErrorResponse vuoto.

ErrorResponse

public ErrorResponse(Error withError)

ErrorResponse con errore contenuto.

Parametri:

withError - Errore.

Dettagli metodo

getError

public Error getError()

Ottenere il valore di errore.

Restituisce:

il valore di errore

setError

public void setError(Error withError)

Impostare il valore di errore.

Parametri:

withError - valore di errore da impostare

Si applica a