question: private static AdeException adeExceptionOf ( Throwable t ) { if ( t instanceof AdeException ) { return ( AdeException ) t ; } else { return new AdeInternalException ( "adeExceptionOf( " + t . getMessage ( ) + " )" , t ) ; } }
target:  Return an instance of AdeException (typically: AdeInternalException) which either is, or represents, the input Exception.  Trusting that usage errors would be certain to throw a AdeUsageException, it seems safe to throw a AdeInternalException in all other cases.