name:
src/main/java/io/protobase/f7/errors/ValueException.java
-rw-r--r--
384
1package io.protobase.f7.errors;
2
3/**
4 * Value error represents a failed attempt to coerce a value of one type to another. Usually string to boolean or
5 * string to number.
6 */
7public class ValueException extends F7Exception {
8 public ValueException(String message) {
9 super(F7ExceptionName.VALUE, message);
10 }
11
12 public ValueException() {
13 super(F7ExceptionName.VALUE);
14 }
15}