APIdia Launch Partner
Top Description Fields Constructors Methods
sun.reflect.annotation

public Class EnumConstantNotPresentExceptionProxy

extends ExceptionProxy
Class Inheritance

ExceptionProxy for EnumConstantNotPresentException.
Author
Josh Bloch
Since
1.5

Field Summary

Modifier and TypeField and Description
pack-priv final String
pack-priv final Class<? extends Enum<?>>
private static final long

Constructor Summary

AccessConstructor and Description
public
EnumConstantNotPresentExceptionProxy(Class<? extends Enum<?>> enumType, String constName)

Method Summary

Modifier and TypeMethod and Description
protected RuntimeException
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Field Detail

constNameback to summary
pack-priv final String constName
enumTypeback to summary
pack-priv final Class<? extends Enum<?>> enumType
serialVersionUIDback to summary
private static final long serialVersionUID

Hides sun.reflect.annotation.ExceptionProxy.serialVersionUID.

Annotations
@Serial

Constructor Detail

EnumConstantNotPresentExceptionProxyback to summary
public EnumConstantNotPresentExceptionProxy(Class<? extends Enum<?>> enumType, String constName)

Method Detail

generateExceptionback to summary
protected RuntimeException generateException()

Implements abstract sun.reflect.annotation.ExceptionProxy.generateException.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override