PubException.PubException

PubException(string)

Initializes a new instance of the PubException class.

public PubException(string message)
ParameterTypeDescription
messageStringThe message.

See Also


PubException(string, Exception)

Initializes a new instance of the PubException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public PubException(string message, Exception innerException)
ParameterTypeDescription
messageStringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

See Also