Code example for MalformedObjectNameException

Methods: getMessage

0
		J4pReadResponse readResponse = null;
		try { 
			readRequest = new J4pReadRequest(mbeanName, attribute);
			readResponse = j4pClient.execute(readRequest);
		} catch (MalformedObjectNameException e) {
			return e.getMessage();
		} catch (J4pException e) {
			return e.getMessage();
		} 
		 
		return readResponse.getValue().toString();
	} 
}