iaik.smime.ess
Class MLExpansionLoopException

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.MLExpansionLoopException
All Implemented Interfaces:
java.io.Serializable

public class MLExpansionLoopException
extends ESSRuntimeException

This exception may be thrown if a mail list expansion loop is detected.

A mail list expansion loop occurs if an MLA detects its identifier among the MLData records it has received.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class iaik.cms.CMSRuntimeException
exception_
 
Constructor Summary
MLExpansionLoopException(EntityIdentifier mailListIdentifier)
          Creates a new MLExpansionLoopException for the given MailListIdentifier.
MLExpansionLoopException(java.lang.String msg, EntityIdentifier mailListIdentifier)
          Creates an MLExpansionLoopException for the given message and MailListIdentifier.
 
Method Summary
 EntityIdentifier getMailListIdentifier()
          Returns the MailListIdentifier of the MLA that has caused/detected the loop.
 
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

MLExpansionLoopException

public MLExpansionLoopException(EntityIdentifier mailListIdentifier)
Creates a new MLExpansionLoopException for the given MailListIdentifier.

Parameters:
mailListIdentifier - the ID of the MLA that caused/detected the loop

MLExpansionLoopException

public MLExpansionLoopException(java.lang.String msg,
                                EntityIdentifier mailListIdentifier)
Creates an MLExpansionLoopException for the given message and MailListIdentifier.

Parameters:
msg - the message describing the exception
mailListIdentifier - the ID of the MLA that caused/detected the loop
Method Detail

getMailListIdentifier

public EntityIdentifier getMailListIdentifier()
Returns the MailListIdentifier of the MLA that has caused/detected the loop.

Returns:
the MailListIdentifier of the MLA that has caused/detected the loop.

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

IAIK-CMS 6.0, (c) 2002 IAIK, (c) 2003, 2023 SIC