add RuntimeExceptions for Lines