org.springframework.jdbc
Class SQLWarningException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.UncategorizedDataAccessException
org.springframework.jdbc.SQLWarningException
- All Implemented Interfaces:
- Serializable
- public class SQLWarningException
- extends UncategorizedDataAccessException
Exception thrown when we're not ignoring warnings.
If such an exception is thrown, the operation completed,
so we will need to explicitly roll it back if we're not happy
on looking at the warning. We might choose to ignore (or merely log)
the warning and throw the exception away.
- Author:
- Rod Johnson
- See Also:
- Serialized Form
SQLWarningException
public SQLWarningException(String msg,
SQLWarning ex)
- Constructor for ConnectionFactoryException.
- Parameters:
msg
- messageex
- JDBC warning
SQLWarning
public SQLWarning SQLWarning()
- Return the SQLWarning.
Copyright (C) 2003-2004 The Spring Framework Project.