public static DatabaseException databaseAccessorConnectionIsNull(DatabaseAccessor databaseAccessor, AbstractSession session) { Object[] args = { }; DatabaseException databaseException = new DatabaseException(ExceptionMessageGenerator.buildMessage(DatabaseException.class, DATABASE_ACCESSOR_CONNECTION_IS_NULL, args)); databaseException.setErrorCode(DATABASE_ACCESSOR_CONNECTION_IS_NULL); databaseException.setAccessor(databaseAccessor); databaseException.setSession(session); return databaseException; }
public static DatabaseException databaseAccessorConnectionIsNull(DatabaseAccessor databaseAccessor, AbstractSession session) { Object[] args = { }; DatabaseException databaseException = new DatabaseException(ExceptionMessageGenerator.buildMessage(DatabaseException.class, DATABASE_ACCESSOR_CONNECTION_IS_NULL, args)); databaseException.setErrorCode(DATABASE_ACCESSOR_CONNECTION_IS_NULL); databaseException.setAccessor(databaseAccessor); databaseException.setSession(session); return databaseException; }
public static DatabaseException sqlException(SQLException exception, Accessor accessor, AbstractSession session, boolean isCommunicationFailure) { DatabaseException databaseException = new DatabaseException(exception); databaseException.setErrorCode(SQL_EXCEPTION); databaseException.setAccessor(accessor); databaseException.setSession(session); databaseException.setCommunicationFailure(isCommunicationFailure); return databaseException; }
public static DatabaseException sqlException(SQLException exception, Accessor accessor, AbstractSession session, boolean isCommunicationFailure) { DatabaseException databaseException = new DatabaseException(exception); databaseException.setErrorCode(SQL_EXCEPTION); databaseException.setAccessor(accessor); databaseException.setSession(session); databaseException.setCommunicationFailure(isCommunicationFailure); return databaseException; }
public static DatabaseException sqlException(SQLException exception, Accessor accessor, AbstractSession session, boolean isCommunicationFailure) { DatabaseException databaseException = new DatabaseException(exception); databaseException.setErrorCode(SQL_EXCEPTION); databaseException.setAccessor(accessor); databaseException.setSession(session); databaseException.setCommunicationFailure(isCommunicationFailure); return databaseException; }
public static DatabaseException databaseAccessorConnectionIsNull(DatabaseAccessor databaseAccessor, AbstractSession session) { Object[] args = { }; DatabaseException databaseException = new DatabaseException(ExceptionMessageGenerator.buildMessage(DatabaseException.class, DATABASE_ACCESSOR_CONNECTION_IS_NULL, args)); databaseException.setErrorCode(DATABASE_ACCESSOR_CONNECTION_IS_NULL); databaseException.setAccessor(databaseAccessor); databaseException.setSession(session); return databaseException; }
databaseException.setSession(this);
databaseException.setSession(this);
databaseException.setSession(this);