iaik.smime.ess
Class MLExpansionHistoryOverflowException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by iaik.cms.CMSRuntimeException
                  extended by iaik.smime.SMimeRuntimeException
                      extended by iaik.smime.ess.ESSRuntimeException
                          extended by 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

Field Summary
 
Fields inherited from class iaik.cms.CMSRuntimeException
exception_
 
Constructor Summary
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.
 
Method Summary
 MLData[] getMLDataList()
          Returns the MLData list that has caused the MLExpansionHistory overflow
 
Methods inherited from class iaik.cms.CMSRuntimeException
getException
 
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
 

Constructor Detail

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 exception
mlDataList - the list of MLData objects causing the MLExpansionHistory overflow
Method Detail

getMLDataList

public MLData[] getMLDataList()
Returns the MLData list that has caused the MLExpansionHistory overflow

Returns:
the list of MLData objects causing the MLExpansionHistory overflow

This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note).

IAIK-CMS 5.1, (c) 2002 IAIK, (c) 2003 - 2010 SIC