Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Security
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Security
KeyStore
J Krem
Greenhorn
Posts: 11
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
unreported exception java.security.KeyStoreException; must be caught or declared to be thrown
KeyStore keyPairKS= KeyStore.getInstance("jks");
Can anyone help me with this problem? I get an error on the following line above
Vladan Radovanovic
Ranch Hand
Posts: 216
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Your answer is right there. Either use a try catch block for that line or have your method throw that exception.
J Krem
Greenhorn
Posts: 11
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i had tried the try catch statement on the line of code, but that didn't seem to work. What exactly do you mean by let the method throw the exception?
J Krem
Greenhorn
Posts: 11
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks for the help, I had read in the documentation about keystore types..jks is a keystore type and it comes with the default SUN provider package...? Can you elaborate? is the sun-jce-provider.jar file sufficient???
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
ftps in java
Receiving: java.CertificateException: Certificate not Trusted
KeyTool -genkeypair gives exception - "Keystore file exists, but is empty"
keytool problem
error loading keystore
More...