Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Serverside ErrorReport Javadoc java.util methods or class convenince getters missing

    Hi Isomorphic,

    the docs show that serverside ErrorReport is a java.util.Map.
    The class has a method getErrors(String fieldName), but no method to find the possible keys.
    I could either traverse all DataSource fields (unnecessary and complicated) or use java.util.Map methods to get the keys.
    I assume that this is safe, but could either doc the method or add a hint to this to the class description. I was confused until I saw the available methods in Eclipse.

    Thank you & Best regards
    Blama

    #2
    You should traverse DataSourceFields. ErrorReport can potentially have other (internal) data stored within it.

    Comment

    Working...
    X