Improve content of CommunicationException when they contain only a cause.
| | |
| | | properties are mandatory: %s |
| | | SEVERE_ERR_PROPERTY_NOT_FOUND_EXCEPTION_110=The property "%s" was not \ |
| | | recognized |
| | | SEVERE_ERR_COMMUNICATION_EXCEPTION_DEFAULT_CAUSE_111=A communication problem \ |
| | | occurred while contacting the server: %s |
| | |
| | | * The cause. |
| | | */ |
| | | public CommunicationException(Throwable cause) { |
| | | super(ERR_COMMUNICATION_EXCEPTION_DEFAULT.get(), cause); |
| | | super(ERR_COMMUNICATION_EXCEPTION_DEFAULT_CAUSE.get(cause.getMessage()), |
| | | cause); |
| | | } |
| | | |
| | | |