exception handling

i am using ftp adapters for reading and writing file in that time exception occurs how to handle that excption give me the diagramatically representation of the process.and explanation about each activity in the process.

XML.org Focus Areas: BPEL | DITA | ebXML | IDtrust | OpenDocument | SAML | UBL | UDDI
OASIS sites: OASIS | Cover Pages | XML.org | AMQP | CGM Open | eGov | Emergency | IDtrust | LegalXML | Open CSA | OSLC | WS-I