|
SSJ V. 1.1.9. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
umontreal.iro.lecuyer.rng.RandomStreamInstantiationException
public class RandomStreamInstantiationException
This exception is thrown when a random stream factory cannot instantiate a stream
on a call to its newInstance method.
| Constructor Summary | |
|---|---|
RandomStreamInstantiationException(RandomStreamFactory factory)
Constructs a new random stream instantiation exception with no message, no cause and thrown by the given factory. |
|
RandomStreamInstantiationException(RandomStreamFactory factory,
String message)
Constructs a new random stream instantiation exception with the given message, no cause and concerning factory |
|
RandomStreamInstantiationException(RandomStreamFactory factory,
String message,
Throwable cause)
Constructs a new random stream instantiation exception with the given message, the supplied cause and concerning factory. |
|
RandomStreamInstantiationException(RandomStreamFactory factory,
Throwable cause)
Constructs a new random stream instantiation exception with no message, the given cause and concerning factory. |
|
| Method Summary | |
|---|---|
RandomStreamFactory |
getRandomStreamFactory()
Returns the random stream factory concerned by this exception. |
String |
toString()
Returns a short description of the exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RandomStreamInstantiationException(RandomStreamFactory factory)
factory - the random stream factory which thrown the exception.
public RandomStreamInstantiationException(RandomStreamFactory factory,
String message)
factory - the random stream factory concerned by the exception.message - the error message describing the exception.
public RandomStreamInstantiationException(RandomStreamFactory factory,
Throwable cause)
factory - the random stream factory concerned by the exception.cause - the cause of the exception.
public RandomStreamInstantiationException(RandomStreamFactory factory,
String message,
Throwable cause)
factory - the random stream factory concerned by the exception.message - the error message describing the exception.cause - the cause of the exception.| Method Detail |
|---|
public RandomStreamFactory getRandomStreamFactory()
public String toString()
getRandomStreamFactory returns null,
this calls super.toString. Otherwise, the
result is the concatenation of the strings:
getRandomStreamFactory.toString()
getMessage is non-null
getMessage
toString in class Throwable
|
SSJ V. 1.1.9. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||