Class SkipException

  • All Implemented Interfaces:
    Serializable

    public class SkipException
    extends RuntimeException

    Thrown by any Translator that wants its value to be skipped. Unlike most exceptions, this one is not initialized with a stacktrace. This eliminates almost all of the cost of using an exception mechanism for a common operation.

    For example, if you're translating a value during save() and you don't want to store a null, you can throw new SkipException(); and this particular value will be skipped.

    See Also:
    Serialized Form
    • Constructor Detail

      • SkipException

        public SkipException()