Interface KeeperException.CodeDeprecated

  • All Known Implementing Classes:
    KeeperException.Code
    Enclosing class:
    KeeperException

    @Deprecated
    @Public
    public static interface KeeperException.CodeDeprecated
    Deprecated.
    This interface contains the original static final int constants which have now been replaced with an enumeration in Code. Do not reference this class directly, if necessary (legacy code) continue to access the constants through Code. Note: an interface is used here due to the fact that enums cannot reference constants defined within the same enum as said constants are considered initialized _after_ the enum itself. By using an interface as a super type this allows the deprecated constants to be initialized first and referenced when constructing the enums. I didn't want to have constants declared twice. This interface should be private, but it's declared public to enable javadoc to include in the user API spec.