|
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.DistributionCreationException
public class DistributionCreationException
This exception is thrown when a problem occurs during the construction of a
distribution object by RandomVariateGenParam.createDistribution()
or
RandomVariateGenParam.createDistributionInt()
, or during the parsing
of the nested text containing a distribution XML element.
Constructor Summary | |
---|---|
DistributionCreationException()
Constructs a new distribution creation exception with no distribution information or message. |
|
DistributionCreationException(Class<? extends Distribution> distClass,
String distParams)
Constructs a new distribution creation exception with distribution class distClass, distribution parameters distParams, and no message. |
|
DistributionCreationException(Class<? extends Distribution> distClass,
String distParams,
String message)
Constructs a new distribution creation exception with distribution class distClass, distribution parameters distParams, and message message. |
|
DistributionCreationException(String message)
Constructs a new distribution creation exception with no distribution 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, or an exception occurred during the call to a constructor. |
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 DistributionCreationException()
public DistributionCreationException(String message)
message
- the message describing the exception.public DistributionCreationException(Class<? extends Distribution> distClass, String distParams)
distClass
- the class of the distribution which cannot be created.distParams
- the parameters given to the constructor of the distribution
class.public DistributionCreationException(Class<? extends Distribution> distClass, String distParams, String message)
distClass
- the class of the distribution which cannot be created.distParams
- the parameters given to the constructor of the distribution
class.message
- the message describing the exception.Method Detail |
---|
public Class<? extends Distribution> getDistributionClass()
public String getDistributionParameters()
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 |