HttpLayerException Constructor (String, Exception)
Initializes a new instance of the HttpLayerException class with a specified message and inner exception.
Namespace: Microsoft.Hadoop.Client
Assembly: Microsoft.Hadoop.Client (in Microsoft.Hadoop.Client.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
'Usage
Dim message As String
Dim innerException As Exception
Dim instance As New HttpLayerException(message, _
innerException)
public HttpLayerException(
string message,
Exception innerException
)
public:
HttpLayerException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> HttpLayerException
public function HttpLayerException(
message : String,
innerException : Exception
)
Parameters
- message
Type: System.String
The message for the base class.
- innerException
Type: System.Exception
The inner Exception for the HTTP exception.