HazelcastException Constructor
HazelcastException()
Initializes a new instance of the HazelcastException class.
Declaration
public HazelcastException()
HazelcastException(string)
Initializes a new instance of the HazelcastException class with a specified error message.
Declaration
public HazelcastException(string message)
Parameters
string | message | The message that describes the error. |
HazelcastException(Exception)
Initializes a new instance of the HazelcastException class with a reference to the inner exception that is the cause of this exception.
Declaration
public HazelcastException(Exception innerException)
Parameters
Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |
HazelcastException(string, Exception)
Initializes a new instance of the HazelcastException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public HazelcastException(string message, Exception innerException)
Parameters
string | message | The message that describes the error. |
Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |
HazelcastException(SerializationInfo, StreamingContext)
Initializes a new instance of the HazelcastException class with serialized data.
Declaration
[Obsolete("This constructor is obsolete due to BinaryFormatter being obsolete. Use the constructor without this parameter.")]
protected HazelcastException(SerializationInfo info, StreamingContext context)
Parameters
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |