Code example for CertificateException

Methods: printStackTrace

0
								public void checkClientTrusted(X509Certificate[] certs, String authType) {
									try { 
										origTrustmanager.checkClientTrusted(certs, authType);
									} catch (CertificateException e) {
										// TODO Auto-generated catch block 
										e.printStackTrace();
									} 
								} 
 
								public void checkServerTrusted(X509Certificate[] certs, String authType) {
									try { 
										origTrustmanager.checkServerTrusted(certs, authType);
									} catch (CertificateException e) {
										// TODO Auto-generated catch block 
										e.printStackTrace();
									} 
								} 
							} 
					}; 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE