java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
java.sql.SQLNonTransientException
com.aoapps.dbc.ExtraRowException
- All Implemented Interfaces:
LocalizedException,Serializable,Iterable<Throwable>
Thrown when more rows are retrieved than expected.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExtraRowException(Resources resources, String key) ExtraRowException(Resources resources, String key, Serializable... args) ExtraRowException(String reason) ExtraRowException(String reason, Throwable cause) ExtraRowException(Throwable cause) ExtraRowException(Throwable cause, Resources resources, String key) ExtraRowException(Throwable cause, Resources resources, String key, Serializable... args) ExtraRowException(ResultSet result) ExtraRowException(ResultSet result, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionfinal Serializable[]getArgs()final StringgetKey()final ResourcesMethods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
resources
-
key
-
args
-
-
Constructor Details
-
ExtraRowException
public ExtraRowException() -
ExtraRowException
-
ExtraRowException
- Throws:
SQLException
-
ExtraRowException
-
ExtraRowException
-
ExtraRowException
-
ExtraRowException
-
ExtraRowException
- Throws:
SQLException
-
ExtraRowException
-
ExtraRowException
-
-
Method Details
-
getLocalizedMessage
- Specified by:
getLocalizedMessagein interfaceLocalizedException- Overrides:
getLocalizedMessagein classThrowable
-
getResources
- Specified by:
getResourcesin interfaceLocalizedException
-
getKey
- Specified by:
getKeyin interfaceLocalizedException
-
getArgs
- Specified by:
getArgsin interfaceLocalizedException- Returns:
- No defensive copy
-
