Return a Java-style failure.