Multicatch und declare global java variables in property file, localhost:8080 stored in a separate variable