private void checkTransport ( ) throws WorkException { if ( ! transport . isInitialized ( ) ) { try { transport . initialize ( ) ; initialize ( ) ; } catch ( Throwable t ) { WorkException we = new WorkException ( "Exception during transport initialization" ) ; we . initCause ( t ) ; throw we ; } } }
Check the transport