iaik.smime.ess
Class MLExpansionHistoryOverflowException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
iaik.cms.CMSRuntimeException
iaik.smime.SMimeRuntimeException
iaik.smime.ess.ESSRuntimeException
iaik.smime.ess.MLExpansionHistoryOverflowException
- All Implemented Interfaces:
- java.io.Serializable
public class MLExpansionHistoryOverflowException
- extends ESSRuntimeException
This exception is thrown when an MLExpansionHistory overflow occurs.
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();
...
}
- See Also:
- Serialized Form
Method Summary |
MLData[] |
getMLDataList()
Returns the MLData list that has caused the MLExpansionHistory overflow |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MLExpansionHistoryOverflowException
public MLExpansionHistoryOverflowException(MLData[] mlDataList)
- Creates a new MLExpansionHistoryOverflowException for
the given MLData list.
- Parameters:
mlDataList
- the list of MLData objects causing the
MLExpansionHistory overflow
MLExpansionHistoryOverflowException
public MLExpansionHistoryOverflowException(java.lang.String msg,
MLData[] mlDataList)
- Creates an MLExpansionHistoryOverflowException for the given message
and MLData list.
- Parameters:
msg
- the message describing the exceptionmlDataList
- the list of MLData objects causing the
MLExpansionHistory overflow
getMLDataList
public MLData[] getMLDataList()
- Returns the MLData list that has caused the MLExpansionHistory overflow
- Returns:
- the list of MLData objects causing the
MLExpansionHistory overflow
IAIK-CMS 6.0, (c) 2002 IAIK, (c) 2003, 2023 SIC