Package nablarch.common.mail
Class RecipientCountException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nablarch.common.mail.RecipientCountException
- All Implemented Interfaces:
- Serializable
宛先数が不正な場合に発生する例外クラス。
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionRecipientCountException(int maxRecipientCount, int actualRecipientCount) 宛先数上限値、実際の宛先数を指定し、RecipientCountExceptionを生成する。
- 
Method SummaryModifier and TypeMethodDescriptionint実際の宛先数を取得する。int宛先数上限値を取得する。Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
RecipientCountExceptionpublic RecipientCountException(int maxRecipientCount, int actualRecipientCount) 宛先数上限値、実際の宛先数を指定し、RecipientCountExceptionを生成する。- Parameters:
- maxRecipientCount- 宛先数上限値
- actualRecipientCount- 実際の宛先数
 
 
- 
- 
Method Details- 
getMaxRecipientCountpublic int getMaxRecipientCount()宛先数上限値を取得する。- Returns:
- 宛先数上限値
 
- 
getActualRecipientCountpublic int getActualRecipientCount()実際の宛先数を取得する。- Returns:
- 実際の宛先数
 
 
-