Code example for GeneralSecurityException

Methods: printStackTrace

0
        	 reportInstallError(OTAStateChangeListener.ERROR_PACKAGE_VERIFY_FALIED);
        	 e1.printStackTrace();
        	 return; 
         } catch (GeneralSecurityException e1) {
        	 reportInstallError(OTAStateChangeListener.ERROR_PACKAGE_VERIFY_FALIED);
        	 e1.printStackTrace();
        	 return; 
         } finally { 
        	 mWakelock.release();
         } 
 
         // then install package 
         try { 
        	 mWakelock.acquire();
      	   RecoverySystem.installPackage(mContext, recoveryFile);
         } catch (IOException e) {
      	   // TODO Auto-generated catch block 
        	 reportInstallError(OTAStateChangeListener.ERROR_PACKAGE_INSTALL_FAILED);
        	 e.printStackTrace();
        	 return; 
         } catch (SecurityException e){