public enum NullCheckExceptionType extends java.lang.Enum<NullCheckExceptionType>
Enum Constant and Description |
---|
ILLEGAL_ARGUMENT_EXCEPTION |
NULL_POINTER_EXCEPTION |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getExceptionType() |
abstract java.lang.String |
toExceptionMessage(java.lang.String fieldName) |
static NullCheckExceptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NullCheckExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NullCheckExceptionType ILLEGAL_ARGUMENT_EXCEPTION
public static final NullCheckExceptionType NULL_POINTER_EXCEPTION
public static NullCheckExceptionType[] values()
for (NullCheckExceptionType c : NullCheckExceptionType.values()) System.out.println(c);
public static NullCheckExceptionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract java.lang.String toExceptionMessage(java.lang.String fieldName)
public abstract java.lang.String getExceptionType()
Copyright © 2009-2015 The Project Lombok Authors, licensed under the MIT licence.