RunNotebookError Class

  • java.lang.Object
    • com.azure.analytics.synapse.artifacts.models.RunNotebookError

Implements

public final class RunNotebookError
implements JsonSerializable<RunNotebookError>

Run notebook error.

Constructor Summary

Constructor Description
RunNotebookError()

Creates an instance of RunNotebookError class.

Method Summary

Modifier and Type Method and Description
static RunNotebookError fromJson(JsonReader jsonReader)

Reads an instance of RunNotebookError from the JsonReader.

String getEname()

Get the ename property: Error name.

String getEvalue()

Get the evalue property: Error message.

List<String> getTraceback()

Get the traceback property: Error trace.

RunNotebookError setTraceback(List<String> traceback)

Set the traceback property: Error trace.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

RunNotebookError

public RunNotebookError()

Creates an instance of RunNotebookError class.

Method Details

fromJson

public static RunNotebookError fromJson(JsonReader jsonReader)

Reads an instance of RunNotebookError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RunNotebookError if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the RunNotebookError.

getEname

public String getEname()

Get the ename property: Error name.

Returns:

the ename value.

getEvalue

public String getEvalue()

Get the evalue property: Error message.

Returns:

the evalue value.

getTraceback

public List<String> getTraceback()

Get the traceback property: Error trace.

Returns:

the traceback value.

setTraceback

public RunNotebookError setTraceback(List<String> traceback)

Set the traceback property: Error trace.

Parameters:

traceback - the traceback value to set.

Returns:

the RunNotebookError object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to