25package umontreal.ssj.rng;
45 this.factory = factory;
57 this.factory = factory;
69 this.factory = factory;
81 super(message, cause);
82 this.factory = factory;
107 return super.toString();
109 StringBuffer sb =
new StringBuffer(getClass().getName());
110 sb.append(
": For random stream factory ");
111 sb.append(factory.toString());
112 String msg = getMessage();
114 sb.append(
", ").append(msg);
115 return sb.toString();
RandomStreamInstantiationException(RandomStreamFactory factory)
Constructs a new random stream instantiation exception with no message, no cause, and thrown by the g...
RandomStreamInstantiationException(RandomStreamFactory factory, Throwable cause)
Constructs a new random stream instantiation exception with no message, the given cause,...
RandomStreamInstantiationException(RandomStreamFactory factory, String message)
Constructs a new random stream instantiation exception with the given message, no cause,...
RandomStreamInstantiationException(RandomStreamFactory factory, String message, Throwable cause)
Constructs a new random stream instantiation exception with the given message, the supplied cause,...
String toString()
Returns a short description of the exception.
RandomStreamFactory getRandomStreamFactory()
Returns the random stream factory concerned by this exception.
Represents a random stream factory capable of constructing instances of a given type of random stream...