Show / Hide Table of Contents

Class RdfParseException

Class for representing errors in parsing RDF.

Inheritance
object
Exception
RdfException
RdfParseException
RdfParserSelectionException
RdfParsingTerminatedException
RdfThreadedParsingException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
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

| Edit this page 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.

| Edit this page 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.

Exception cause

Inner Exception.

| Edit this page 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.

| Edit this page 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.

Exception cause

Exeception that caused this exception.

| Edit this page 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.

| Edit this page 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.

Exception cause

Error that caused this exception.

| Edit this page 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.

| Edit this page 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.

Exception cause

Error that caused this exception.

| Edit this page 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.

| Edit this page 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.

Exception cause

Error that caused this exception.

| Edit this page 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.

| Edit this page 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.

Exception cause

Inner Exception.

Properties

| Edit this page 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
| Edit this page 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
| Edit this page View Source

HasPositionInformation

Gets whether the Exception has any position information.

Declaration
public bool HasPositionInformation { get; }
Property Value
Type Description
bool
| Edit this page 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
| Edit this page 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

ISerializable

Extension Methods

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