AkkaException Constructor (String, Exception) |
Initializes a new instance of the
Exception class with a specified error message.
Namespace: Akka.ActorAssembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntaxprotected AkkaException(
string message,
Exception cause = null
)
Protected Sub New (
message As String,
Optional cause As Exception = Nothing
)
protected:
AkkaException(
String^ message,
Exception^ cause = nullptr
)
new :
message : string *
?cause : Exception
(* Defaults:
let _cause = defaultArg cause null
*)
-> AkkaException
Parameters
- message
- Type: SystemString
The message that describes the error. - cause (Optional)
- Type: SystemException
An inner exception responsible for this error.
See Also