|
ContactCenters V. 0.9.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
umontreal.iro.lecuyer.xmlbind.GeneratorCreationException
public class GeneratorCreationException
This exception is thrown when a problem occurs during the construction of a
random variate generator by ParamReadHelper.createGenerator(RandomVariateGenParams,RandomStream).
| Constructor Summary | |
|---|---|
GeneratorCreationException()
Constructs a new generator creation exception with no generator information or message. |
|
GeneratorCreationException(Distribution dist,
Class<? extends RandomVariateGen> genClass)
Constructs a new generator creation exception with distribution dist, generator class genClass, and no message. |
|
GeneratorCreationException(Distribution dist,
Class<? extends RandomVariateGen> genClass,
String message)
Constructs a new generator creation exception with distribution dist, generator class genClass, and message message. |
|
GeneratorCreationException(String message)
Constructs a new generator creation exception with no generator information and message message. |
|
| Method Summary | |
|---|---|
Distribution |
getDistribution()
Returns the distribution which caused the exception. |
Class<? extends RandomVariateGen> |
getGeneratorClass()
Returns the generator class which caused the exception. |
String |
toString()
Returns a short description of this 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GeneratorCreationException()
public GeneratorCreationException(String message)
message - the message describing the exception.
public GeneratorCreationException(Distribution dist,
Class<? extends RandomVariateGen> genClass)
dist - the distribution associated with the generator.. = *genClass - the class of the random variate generator that cannot be
created.
public GeneratorCreationException(Distribution dist,
Class<? extends RandomVariateGen> genClass,
String message)
dist - the distribution associated with the generator..genClass - the class of the random variate generator that cannot be
created.message - the message describing the exception.| Method Detail |
|---|
public Distribution getDistribution()
public Class<? extends RandomVariateGen> getGeneratorClass()
public String toString()
Object.toString()
toString in class Throwable
|
ContactCenters V. 0.9.9. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||