Class CodeParserException
Exception class that is thrown when a G/M/T-code could not be parsed
Inheritance
System.Object
System.Exception
CodeParserException
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: DuetAPI.Commands
Assembly: DuetAPI.dll
Syntax
public class CodeParserException : Exception, ISerializable
Constructors
CodeParserException()
Creates a new CodeParserException
Declaration
public CodeParserException()
CodeParserException(String)
Creates a new CodeParserException
Declaration
public CodeParserException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Exception message |
CodeParserException(String, Code)
Creates a new CodeParserException with details where the parser failed to read data
Declaration
public CodeParserException(string message, Code code)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Exception message |
Code | code | Code being parsed |
CodeParserException(String, Exception)
Creates a new CodeParserException
Declaration
public CodeParserException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Exception message |
System.Exception | inner | Inner exception |
Implements
System.Runtime.Serialization.ISerializable