Class TypeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
ch.tocco.nice2.types.api.TypeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
StringConversionException, TypeConversionException, ValidationException

public class TypeException extends Exception
See Also:
  • Constructor Details

    • TypeException

      public TypeException(Type<?> type)
    • TypeException

      public TypeException(Type<?> type, String message)
    • TypeException

      public TypeException(Type<?> type, Throwable cause)
    • TypeException

      public TypeException(Type<?> type, String message, @Nullable @Nullable Throwable cause)
  • Method Details

    • initType

      public void initType(Type<?> type)
    • getType

      public Type<?> getType()