Package com.bayesserver
Class InvalidNetworkException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.bayesserver.InvalidNetworkException
-
- All Implemented Interfaces:
Serializable
public class InvalidNetworkException extends RuntimeException
Raised when a network has not been correctly specified.
-
-
Constructor Summary
Constructors Constructor Description InvalidNetworkException()
Initializes a new instance of theInvalidNetworkException
class.InvalidNetworkException(String message)
Initializes a new instance of theInvalidNetworkException
class with a specified error message.InvalidNetworkException(String message, Throwable cause)
Initializes a new instance of theInvalidNetworkException
class with a specified error message and a reference to the inner exception that is the cause of this exception.InvalidNetworkException(Throwable cause)
Initializes a new instance of theInvalidNetworkException
class with a reference to the inner exception that is the cause of this exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidNetworkException
public InvalidNetworkException()
Initializes a new instance of theInvalidNetworkException
class.
-
InvalidNetworkException
public InvalidNetworkException(String message)
Initializes a new instance of theInvalidNetworkException
class with a specified error message.- Parameters:
message
- The error message that explains the reason for the exception.
-
InvalidNetworkException
public InvalidNetworkException(String message, Throwable cause)
Initializes a new instance of theInvalidNetworkException
class with a specified error message and a reference to the inner exception that is the cause of this exception.- Parameters:
message
- The error message that explains the reason for the exception.cause
- The exception that is the cause of the current exception.
-
InvalidNetworkException
public InvalidNetworkException(Throwable cause)
Initializes a new instance of theInvalidNetworkException
class with a reference to the inner exception that is the cause of this exception.- Parameters:
cause
- The exception that is the cause of the current exception.
-
-