Package org.eclipse.rdf4j.http.protocol.error

## Class ErrorInfo

- java.lang.Object
- - org.eclipse.rdf4j.http.protocol.error.ErrorInfo

-     public class ErrorInfo
      extends Object

  Author:
    Herko ter Horst, Arjohn Kampman

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ErrorInfo​(String errMsg)` |
    `ErrorInfo​(ErrorType errorType, String errMsg)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getErrorMessage()` |
    `ErrorType` | `getErrorType()` |
    `static ErrorInfo` | `parse​(String errInfoString)` | Parses the string output that is produced by `toString()`.
    `String` | `toString()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ErrorInfo

          public ErrorInfo​(String errMsg)

    - #### ErrorInfo

          public ErrorInfo​(ErrorType errorType,
                           String errMsg)

  - ### Method Detail

    - #### getErrorType

          public ErrorType getErrorType()

    - #### getErrorMessage

          public String getErrorMessage()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### parse

          public static ErrorInfo parse​(String errInfoString)

      Parses the string output that is produced by `toString()`.