Class JsonStyleFactory.InstantiationErrorDetails

  • java.lang.Object
    • com.here.sdk.mapview.JsonStyleFactory.InstantiationErrorDetails
  • Enclosing class:
    JsonStyleFactory

    public static final class JsonStyleFactory.InstantiationErrorDetails
    extends java.lang.Object

    Describes the reason for failing to create a Style from a JSON source.

    • Field Detail

      • errorDescription

        @Nullable
        public java.lang.String errorDescription

        A description of the error, if available.

    • Constructor Detail

      • InstantiationErrorDetails

        public InstantiationErrorDetails​(@NonNull
                                         JsonStyleFactory.InstantiationErrorCode errorCode,
                                         @Nullable
                                         java.lang.String errorDescription)

        Creates a new instance.

        Parameters:
        errorCode -

        The error code.

        errorDescription -

        A description of the error, if available.