[java] Best way to define error codes/strings in Java?