SparkServiceError Class

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

public final class SparkServiceError

The SparkServiceError model.

Constructor Summary

Constructor Description
SparkServiceError()

Creates an instance of SparkServiceError class.

Method Summary

Modifier and Type Method and Description
String getErrorCode()

Get the errorCode property: The errorCode property.

String getMessage()

Get the message property: The message property.

SparkErrorSource getSource()

Get the source property: The source property.

SparkServiceError setErrorCode(String errorCode)

Set the errorCode property: The errorCode property.

SparkServiceError setMessage(String message)

Set the message property: The message property.

SparkServiceError setSource(SparkErrorSource source)

Set the source property: The source property.

Methods inherited from java.lang.Object

Constructor Details

SparkServiceError

public SparkServiceError()

Creates an instance of SparkServiceError class.

Method Details

getErrorCode

public String getErrorCode()

Get the errorCode property: The errorCode property.

Returns:

the errorCode value.

getMessage

public String getMessage()

Get the message property: The message property.

Returns:

the message value.

getSource

public SparkErrorSource getSource()

Get the source property: The source property.

Returns:

the source value.

setErrorCode

public SparkServiceError setErrorCode(String errorCode)

Set the errorCode property: The errorCode property.

Parameters:

errorCode - the errorCode value to set.

Returns:

the SparkServiceError object itself.

setMessage

public SparkServiceError setMessage(String message)

Set the message property: The message property.

Parameters:

message - the message value to set.

Returns:

the SparkServiceError object itself.

setSource

public SparkServiceError setSource(SparkErrorSource source)

Set the source property: The source property.

Parameters:

source - the source value to set.

Returns:

the SparkServiceError object itself.

Applies to