Class B2JsonTypeHandlerWithDefaults<T>

    • Constructor Detail

      • B2JsonTypeHandlerWithDefaults

        public B2JsonTypeHandlerWithDefaults()
    • Method Detail

      • throwIfBadDefaultValue

        protected void throwIfBadDefaultValue()
                                       throws B2JsonException
        Before (de)serializing, make sure that the defaults are OK.
        Throws:
        B2JsonException
      • checkDefaultValues

        protected abstract void checkDefaultValues()
                                            throws B2JsonException
        Checks whether default values are OK, and throws if not.
        Throws:
        B2JsonException