Show / Hide Table of Contents

Class RdfParseException

Class for representing errors in parsing RDF.

Inheritance
System.Object
System.Exception
RdfException
RdfParseException
RdfParserSelectionException
RdfParsingTerminatedException
RdfThreadedParsingException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Parsing
Assembly: dotNetRdf.dll
Syntax
public class RdfParseException : RdfException, ISerializable

Constructors

| Improve this Doc View Source

RdfParseException(string, Exception)

Creates a new RDF Parse Exception with the given Message and Inner Exception.

Declaration
public RdfParseException(string errorMsg, Exception cause)
Parameters
Type Name Description
string errorMsg

Error Message.

System.Exception cause

Inner Exception.

| Improve this Doc View Source

RdfParseException(string, int, int, Exception)

Creates a new RDF Parse Exception which contains Position Information.

Declaration
public RdfParseException(string errorMsg, int line, int pos, Exception cause)
Parameters
Type Name Description
string errorMsg

Error Message.

int line

Line the error occurred on.

int pos

Column Position the error occurred at.

System.Exception cause

Exeception that caused this exception.

| Improve this Doc View Source

RdfParseException(string, int, int, int, Exception)

Creates a new RDF Parse Exception which contains Position Information.

Declaration
public RdfParseException(string errorMsg, int line, int startPos, int endPos, Exception cause)
Parameters
Type Name Description
string errorMsg

Error Message.

int line

Line the error occurred on.

int startPos

Column Position the error starts at.

int endPos

Column Position the error ends at.

System.Exception cause

Error that caused this exception.

| Improve this Doc View Source

RdfParseException(string, int, int, int, int, Exception)

Creates a new RDF Parse Exception which contains Position Information.

Declaration
public RdfParseException(string errorMsg, int startLine, int endLine, int startPos, int endPos, Exception cause)
Parameters
Type Name Description
string errorMsg

Error Message.

int startLine

Line the error starts on.

int endLine

Line the error ends on.

int startPos

Column Position the error starts at.

int endPos

Column Position the error ends at.

System.Exception cause

Error that caused this exception.

| Improve this Doc View Source

RdfParseException(string, int, int, int, int)

Creates a new RDF Parse Exception which contains Position Information.

Declaration
public RdfParseException(string errorMsg, int startLine, int endLine, int startPos, int endPos)
Parameters
Type Name Description
string errorMsg

Error Message.

int startLine

Line the error starts on.

int endLine

Line the error ends on.

int startPos

Column Position the error starts at.

int endPos

Column Position the error ends at.

| Improve this Doc View Source

RdfParseException(string, int, int, int)

Creates a new RDF Parse Exception which contains Position Information.

Declaration
public RdfParseException(string errorMsg, int line, int startPos, int endPos)
Parameters
Type Name Description
string errorMsg

Error Message.

int line

Line the error occurred on.

int startPos

Column Position the error starts at.

int endPos

Column Position the error ends at.

| Improve this Doc View Source

RdfParseException(string, int, int)

Creates a new RDF Parse Exception which contains Position Information.

Declaration
public RdfParseException(string errorMsg, int line, int pos)
Parameters
Type Name Description
string errorMsg

Error Message.

int line

Line the error occurred on.

int pos

Column Position the error occurred at.

| Improve this Doc View Source

RdfParseException(string, PositionInfo, Exception)

Creates a new RDF Parse Exception which contains Position Information.

Declaration
public RdfParseException(string errorMsg, PositionInfo position, Exception cause)
Parameters
Type Name Description
string errorMsg

Error Message.

PositionInfo position

Position Information.

System.Exception cause

Error that caused this exception.

| Improve this Doc View Source

RdfParseException(string, PositionInfo)

Creates a new RDF Parse Exception which contains Position Information.

Declaration
public RdfParseException(string errorMsg, PositionInfo position)
Parameters
Type Name Description
string errorMsg

Error Message.

PositionInfo position

Position Information.

| Improve this Doc View Source

RdfParseException(string, IToken, Exception)

Creates a new RDF Parse Exception which contains Position Information taken from the given Token.

Declaration
public RdfParseException(string errorMsg, IToken t, Exception cause)
Parameters
Type Name Description
string errorMsg

Error Message.

IToken t

Token.

System.Exception cause

Inner Exception.

| Improve this Doc View Source

RdfParseException(string, IToken)

Creates a new RDF Parse Exception which contains Position Information taken from the given Token.

Declaration
public RdfParseException(string errorMsg, IToken t)
Parameters
Type Name Description
string errorMsg

Error Message.

IToken t

Token.

| Improve this Doc View Source

RdfParseException(string)

Creates a new RDF Parse Exception with the given Message.

Declaration
public RdfParseException(string errorMsg)
Parameters
Type Name Description
string errorMsg

Error Message.

Properties

| Improve this Doc View Source

EndLine

Gets the End Line of the Error or -1 if no position information.

Declaration
public int EndLine { get; }
Property Value
Type Description
int
| Improve this Doc View Source

EndPosition

Gets the End Column of the Error or -1 if no position information.

Declaration
public int EndPosition { get; }
Property Value
Type Description
int
| Improve this Doc View Source

HasPositionInformation

Gets whether the Exception has any position information.

Declaration
public bool HasPositionInformation { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

StartLine

Gets the Start Line of the Error or -1 if no position information.

Declaration
public int StartLine { get; }
Property Value
Type Description
int
| Improve this Doc View Source

StartPosition

Gets the Start Column of the Error or -1 if no position information.

Declaration
public int StartPosition { get; }
Property Value
Type Description
int

Implements

System.Runtime.Serialization.ISerializable

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • RdfParseException(string, Exception)
    • RdfParseException(string, int, int, Exception)
    • RdfParseException(string, int, int, int, Exception)
    • RdfParseException(string, int, int, int, int, Exception)
    • RdfParseException(string, int, int, int, int)
    • RdfParseException(string, int, int, int)
    • RdfParseException(string, int, int)
    • RdfParseException(string, PositionInfo, Exception)
    • RdfParseException(string, PositionInfo)
    • RdfParseException(string, IToken, Exception)
    • RdfParseException(string, IToken)
    • RdfParseException(string)
  • Properties
    • EndLine
    • EndPosition
    • HasPositionInformation
    • StartLine
    • StartPosition
  • Implements
  • Extension Methods
Back to top Generated by DocFX