Top Description Fields Constructors Methods
org.springframework.aot.generate

public Class ValueCodeGenerationException

extends RuntimeException
Class Inheritance
Known Direct Subclasses
org.springframework.aot.generate.UnsupportedTypeValueCodeGenerationException
Annotations
@SuppressWarnings:serial
Imports
org.springframework.lang.Nullable

Thrown when value code generation fails.
Author
Stephane Nicoll
Since
6.1.2

Field Summary

Modifier and TypeField and Description
private final Object

Constructor Summary

AccessConstructor and Description
protected
public

Method Summary

Modifier and TypeMethod and Description
private static String
public Object

Returns:

the value
getValue
()

Return the value that failed to be generated.

Field Detail

valueback to summary
private final Object value
Annotations
@Nullable

Constructor Detail

ValueCodeGenerationExceptionback to summary
protected ValueCodeGenerationException(String message, Object value, Throwable cause)
ValueCodeGenerationExceptionback to summary
public ValueCodeGenerationException(Object value, Throwable cause)

Method Detail

buildErrorMessageback to summary
private static String buildErrorMessage(Object value)
getValueback to summary
public Object getValue()

Return the value that failed to be generated.

Returns:Object

the value

Annotations
@Nullable