This exception is thrown when a random stream factory cannot instantiate a stream on a call to its umontreal.ssj.rng.RandomStreamFactory.newInstance method.
More...
|
| RandomStreamInstantiationException (RandomStreamFactory factory) |
| Constructs a new random stream instantiation exception with no message, no cause, and thrown by the given factory . More...
|
|
| RandomStreamInstantiationException (RandomStreamFactory factory, String message) |
| Constructs a new random stream instantiation exception with the given message , no cause, and concerning factory . More...
|
|
| RandomStreamInstantiationException (RandomStreamFactory factory, Throwable cause) |
| Constructs a new random stream instantiation exception with no message, the given cause , and concerning factory . More...
|
|
| RandomStreamInstantiationException (RandomStreamFactory factory, String message, Throwable cause) |
| Constructs a new random stream instantiation exception with the given message , the supplied cause , and concerning factory . More...
|
|
RandomStreamFactory | getRandomStreamFactory () |
| Returns the random stream factory concerned by this exception. More...
|
|
String | toString () |
| Returns a short description of the exception. More...
|
|
This exception is thrown when a random stream factory cannot instantiate a stream on a call to its umontreal.ssj.rng.RandomStreamFactory.newInstance method.
◆ RandomStreamInstantiationException() [1/4]
Constructs a new random stream instantiation exception with no message, no cause, and thrown by the given factory
.
- Parameters
-
factory | the random stream factory which thrown the exception. |
◆ RandomStreamInstantiationException() [2/4]
Constructs a new random stream instantiation exception with the given message
, no cause, and concerning factory
.
- Parameters
-
factory | the random stream factory concerned by the exception. |
message | the error message describing the exception. |
◆ RandomStreamInstantiationException() [3/4]
Constructs a new random stream instantiation exception with no message, the given cause
, and concerning factory
.
- Parameters
-
factory | the random stream factory concerned by the exception. |
cause | the cause of the exception. |
◆ RandomStreamInstantiationException() [4/4]
Constructs a new random stream instantiation exception with the given message
, the supplied cause
, and concerning factory
.
- Parameters
-
factory | the random stream factory concerned by the exception. |
message | the error message describing the exception. |
cause | the cause of the exception. |
◆ getRandomStreamFactory()
Returns the random stream factory concerned by this exception.
- Returns
- the random stream factory concerned by this exception.
◆ toString()
Returns a short description of the exception.
If getRandomStreamFactory returns null
, this calls super.toString
. Otherwise, the result is the concatenation of: a) the name of the actual class of the exception;
b) the string ": For random
stream factory "
;
c) the result of getRandomStreamFactory .toString()
;
d) if java.lang.Throwable.getMessage is non-null
, ", "
followed by the result of java.lang.Throwable.getMessage.
- Returns
- a string representation of the exception.
The documentation for this class was generated from the following file:
- RandomStreamInstantiationException.java