Java Code Examples for

The following are Jave code examples for showing how to use toString() of the class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: keepass2android   File:   View Source Code Vote up 5 votes
private String getMessage(CertificateException e) {
        String msg = e.getLocalizedMessage();
if (msg == null)
msg = e.getMessage();
if (msg == null)
msg = e.toString();
return msg;