public class MLExpansionHistoryOverflowException extends ESSRuntimeException
If the number of MLData
objects contained
in an MLExpansionHistory
exceeds
an allowed upper bound
of 64 entries an MLExpansionHistoryOverflowException is thrown to
indicate the list overflow. Nevertheless an application might whish to
query for the MLData objects included by calling method getMLDataList
:
try { ... } catch (MLExpansionHistoryOverflowException ex) { System.err.println("MLExpansionHistory overflow!"); MLData[] mlDataList = ex.getMLDataList(); ... }
exception_
Constructor and Description |
---|
MLExpansionHistoryOverflowException(MLData[] mlDataList)
Creates a new MLExpansionHistoryOverflowException for
the given MLData list.
|
MLExpansionHistoryOverflowException(java.lang.String msg,
MLData[] mlDataList)
Creates an MLExpansionHistoryOverflowException for the given message
and MLData list.
|
Modifier and Type | Method and Description |
---|---|
MLData[] |
getMLDataList()
Returns the MLData list that has caused the MLExpansionHistory overflow
|
getException
public MLExpansionHistoryOverflowException(MLData[] mlDataList)
mlDataList
- the list of MLData objects causing the
MLExpansionHistory overflowpublic MLExpansionHistoryOverflowException(java.lang.String msg, MLData[] mlDataList)
msg
- the message describing the exceptionmlDataList
- the list of MLData objects causing the
MLExpansionHistory overflowpublic MLData[] getMLDataList()