Class RdfParseException
Class for representing errors in parsing RDF.
Inheritance
System.Object
System.Exception
RdfParseException
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
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Parsing
Assembly: dotNetRDF.dll
Syntax
public class RdfParseException : RdfException, ISerializable
Constructors
| Improve this Doc View SourceRdfParseException(String)
Creates a new RDF Parse Exception with the given Message.
Declaration
public RdfParseException(string errorMsg)
Parameters
Type | Name | Description |
---|---|---|
System.String | errorMsg | Error Message. |
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 |
---|---|---|
System.String | errorMsg | Error Message. |
System.Exception | cause | Inner Exception. |
RdfParseException(String, Int32, Int32)
Creates a new RDF Parse Exception which contains Position Information.
Declaration
public RdfParseException(string errorMsg, int line, int pos)
Parameters
Type | Name | Description |
---|---|---|
System.String | errorMsg | Error Message. |
System.Int32 | line | Line the error occurred on. |
System.Int32 | pos | Column Position the error occurred at. |
RdfParseException(String, Int32, Int32, 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 |
---|---|---|
System.String | errorMsg | Error Message. |
System.Int32 | line | Line the error occurred on. |
System.Int32 | pos | Column Position the error occurred at. |
System.Exception | cause | Exeception that caused this exception. |
RdfParseException(String, Int32, Int32, Int32)
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 |
---|---|---|
System.String | errorMsg | Error Message. |
System.Int32 | line | Line the error occurred on. |
System.Int32 | startPos | Column Position the error starts at. |
System.Int32 | endPos | Column Position the error ends at. |
RdfParseException(String, Int32, Int32, Int32, 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 |
---|---|---|
System.String | errorMsg | Error Message. |
System.Int32 | line | Line the error occurred on. |
System.Int32 | startPos | Column Position the error starts at. |
System.Int32 | endPos | Column Position the error ends at. |
System.Exception | cause | Error that caused this exception. |
RdfParseException(String, Int32, Int32, Int32, Int32)
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 |
---|---|---|
System.String | errorMsg | Error Message. |
System.Int32 | startLine | Line the error starts on. |
System.Int32 | endLine | Line the error ends on. |
System.Int32 | startPos | Column Position the error starts at. |
System.Int32 | endPos | Column Position the error ends at. |
RdfParseException(String, Int32, Int32, Int32, Int32, 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 |
---|---|---|
System.String | errorMsg | Error Message. |
System.Int32 | startLine | Line the error starts on. |
System.Int32 | endLine | Line the error ends on. |
System.Int32 | startPos | Column Position the error starts at. |
System.Int32 | endPos | Column Position the error ends at. |
System.Exception | cause | Error that caused this exception. |
RdfParseException(String, PositionInfo)
Creates a new RDF Parse Exception which contains Position Information.
Declaration
public RdfParseException(string errorMsg, PositionInfo position)
Parameters
Type | Name | Description |
---|---|---|
System.String | errorMsg | Error Message. |
PositionInfo | position | Position Information. |
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 |
---|---|---|
System.String | errorMsg | Error Message. |
PositionInfo | position | Position Information. |
System.Exception | cause | Error that caused this exception. |
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 |
---|---|---|
System.String | errorMsg | Error Message. |
IToken | t | Token. |
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 |
---|---|---|
System.String | errorMsg | Error Message. |
IToken | t | Token. |
System.Exception | cause | Inner Exception. |
Properties
| Improve this Doc View SourceEndLine
Gets the End Line of the Error or -1 if no position information.
Declaration
public int EndLine { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
EndPosition
Gets the End Column of the Error or -1 if no position information.
Declaration
public int EndPosition { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
HasPositionInformation
Gets whether the Exception has any position information.
Declaration
public bool HasPositionInformation { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
StartLine
Gets the Start Line of the Error or -1 if no position information.
Declaration
public int StartLine { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
StartPosition
Gets the Start Column of the Error or -1 if no position information.
Declaration
public int StartPosition { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Implements
System.Runtime.Serialization.ISerializable