findFirst... method name pattern or by supplying Limit.of(1)
as a parameter to explicitly request only the first result.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | NonUniqueResultException(String
the detail message. message)Constructs a new NonUniqueResultException exception with the specified detail message. |
| public | NonUniqueResultException(String
the detail message. message, Throwable another exception or error that caused this exception.
Null indicates that no other cause is specified. cause)Constructs a new NonUniqueResultException exception with the specified detail message. |
| public | NonUniqueResultException(Throwable
the cause. cause)Constructs a new NonUniqueResultException exception with the specified cause. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides jakarta. | |
| NonUniqueResultException | back to summary |
|---|---|
| public NonUniqueResultException(String message) Constructs a new NonUniqueResultException exception with the specified detail message.
| |
| NonUniqueResultException | back to summary |
|---|---|
| public NonUniqueResultException(String message, Throwable cause) Constructs a new NonUniqueResultException exception with the specified detail message. | |
| NonUniqueResultException | back to summary |
|---|---|
| public NonUniqueResultException(Throwable cause) Constructs a new NonUniqueResultException exception with the specified cause.
| |