private static Throwable assertNotNull(Throwable originalException){
  if (originalException == null) {
    throw new IllegalArgumentException("Original Exception for RemoteException must not be null.");
  }
  return originalException;
}

private static Throwable assertNotNull ( Throwable originalException ) { if ( originalException == null ) { throw new IllegalArgumentException ( "Original Exception for RemoteException must not be null." ) ; } return originalException ; }
asserts original exception is not null .
