com.interstarinc.xmedius.sendfax
Class InvalidFaxNumberException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.interstarinc.xmedius.sendfax.FaxException
              extended by com.interstarinc.xmedius.sendfax.InvalidFaxNumberException
All Implemented Interfaces:
Serializable

public class InvalidFaxNumberException
extends FaxException

The fax exception thrown whenever a fax recipient has an invalid fax number.

Version:
$Revision: 1.5 $
Author:
André Morin
See Also:
Fax.toXML(com.interstarinc.xmedius.sendfax.model.IFaxModel, java.io.OutputStream), IRecipientInfo.getFaxNumber(), Serialized Form

Field Summary
private  IRecipientInfo recipientInfo
          The first recipient with an invalid fax number.
private static long serialVersionUID
           
 
Constructor Summary
InvalidFaxNumberException()
           
InvalidFaxNumberException(String arg0)
           
InvalidFaxNumberException(String arg0, Throwable arg1)
           
InvalidFaxNumberException(Throwable arg0)
           
 
Method Summary
 IRecipientInfo getRecipientInfo()
           
 void setRecipientInfo(IRecipientInfo recipientInfo)
           
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

recipientInfo

private IRecipientInfo recipientInfo
The first recipient with an invalid fax number.

Constructor Detail

InvalidFaxNumberException

public InvalidFaxNumberException()

InvalidFaxNumberException

public InvalidFaxNumberException(String arg0)

InvalidFaxNumberException

public InvalidFaxNumberException(Throwable arg0)

InvalidFaxNumberException

public InvalidFaxNumberException(String arg0,
                                 Throwable arg1)
Method Detail

getRecipientInfo

public IRecipientInfo getRecipientInfo()
Returns:
the first recipient which has an invalid fax number

setRecipientInfo

public void setRecipientInfo(IRecipientInfo recipientInfo)