Constructor DomException
- Namespace
- SharpVectors.Dom
- Assembly
- SharpVectors.Core.dll
DomException()
Initializes a new instance of the System.Exception class.
public DomException()
DomException(string, Exception)
Initializes a new instance of the System.Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
protected DomException(string msg, Exception innerException)
Parameters
msg
stringThe message that describes the error.
innerException
ExceptionThe exception that is the cause of the current exception, or null if no inner exception is specified.
DomException(DomExceptionType)
Initializes a new instance of the System.Exception class with a specified error code.
public DomException(DomExceptionType code)
Parameters
code
DomExceptionTypeThe DOM exception code.
DomException(DomExceptionType, string)
Initializes a new instance of the System.Exception class with a specified error message and error code.
public DomException(DomExceptionType code, string msg)
Parameters
code
DomExceptionTypeThe DOM exception code.
msg
stringThe message that describes the error.
DomException(DomExceptionType, string, Exception)
Initializes a new instance of the System.Exception class with a specified error message, error code and a reference to the inner exception that is the cause of this exception.
public DomException(DomExceptionType code, string msg, Exception innerException)
Parameters
code
DomExceptionTypeThe DOM exception code.
msg
stringThe message that describes the error.
innerException
ExceptionThe exception that is the cause of the current exception, or null if no inner exception is specified.
DomException(SerializationInfo, StreamingContext)
Initializes a new instance of the System.Exception class with serialized data.
protected DomException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe StreamingContext that contains contextual information about the source or destination.