> On Jun 15, 2016, at 10:57 PM, Mandy Chung <mandy.ch...@oracle.com> wrote: > >>> 241 throw (InvalidParameterException) >>> >>> This cast should not be needed? >>> >> >> } catch (UcryptoException ue) { >> throw (InvalidParameterException) >> new InvalidParameterException("Error using " + configArg). >> initCause(ue.getCause()); >> } >> >> initCause() returns Throwable but the method's signature throws >> InvalidParameterException. >> > > Perhaps have a local variable for InvalidParameterException exception.
Valerie, are you OK with this? --Max > > Mandy