|
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
java.lang.RuntimeException
umontreal.iro.lecuyer.xmlconfig.GeneratorCreationException
public class GeneratorCreationException
This exception is thrown when a problem occurs during the construction of a
random variate generator by RandomVariateGenParam.createGenerator(umontreal.iro.lecuyer.rng.RandomStream) or
RandomVariateGenParam.createGeneratorInt(umontreal.iro.lecuyer.rng.RandomStream).
| Constructor Summary | |
|---|---|
GeneratorCreationException()
Constructs a new generator creation exception with no generator information or message. |
|
GeneratorCreationException(Class<? extends Distribution> distClass,
String distParams,
Class<? extends RandomVariateGen> genClass)
Constructs a new generator creation exception with distribution class distClass, distribution parameters distParams, generator class genClass, and no message. |
|
GeneratorCreationException(Class<? extends Distribution> distClass,
String distParams,
Class<? extends RandomVariateGen> genClass,
String message)
Constructs a new generator creation exception with distribution class distClass, distribution parameters distParams, generator class genClass, and message message. |
|
GeneratorCreationException(String message)
Constructs a new generator creation exception with no generator information and message message. |
|
| Method Summary | |
|---|---|
Class<? extends Distribution> |
getDistributionClass()
Returns the distribution class which caused the exception. |
String |
getDistributionParameters()
Returns the distribution parameters for which there is no corresponding constructor in the distribution class. |
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(Class<? extends Distribution> distClass,
String distParams,
Class<? extends RandomVariateGen> genClass)
distClass - the class of the distribution associated with the generator..distParams - the parameters given to the constructor of the distribution
class.genClass - the class of the random variate generator that cannot be
created.
public GeneratorCreationException(Class<? extends Distribution> distClass,
String distParams,
Class<? extends RandomVariateGen> genClass,
String message)
distClass - the class of the distribution associated with the generator..distParams - the parameters given to the constructor of the distribution
class.genClass - the class of the random variate generator that cannot be
created.message - the message describing the exception.| Method Detail |
|---|
public Class<? extends Distribution> getDistributionClass()
public String getDistributionParameters()
public Class<? extends RandomVariateGen> getGeneratorClass()
public String 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 | ||||||||