public static void main(String[] args) {
		Workflow wf = null;
		try {
			wf = new Workflow();
			wf.start();
		} catch (ClientProtocolException e) {
			Log.logInfo(e.getMessage());
			e.printStackTrace();
		} catch (IOException e) {
			Log.logInfo(e.getMessage());
			e.printStackTrace();
		} catch (DocumentException e) {
			Log.logInfo(e.getMessage());
			e.printStackTrace();
		} catch (InterruptedException e) {
			Log.logInfo(e.getMessage());
			e.printStackTrace();
		} catch (Exception e) {
			Log.logInfo(e.getMessage());
			e.printStackTrace();
		} finally {
			try {
				wf.beforeExit();
			} catch (ClientProtocolException e) {
				e.printStackTrace();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}