private void validateTableAcceptsInserts ( ) throws GPUdbException { for ( String s : tableDescription ) { if ( s . equalsIgnoreCase ( "COLLECTION" ) ) { throw new GPUdbException ( "Error: table " + tableName + " is a Collection" ) ; } else if ( s . equalsIgnoreCase ( "VIEW" ) ) { throw new GPUdbException ( "Error: table " + tableName + " is a View" ) ; } else if ( s . equalsIgnoreCase ( "JOIN" ) ) { throw new GPUdbException ( "Error: table " + tableName + " is a Join Table" ) ; } else if ( s . equalsIgnoreCase ( "RESULT_TABLE" ) ) { throw new GPUdbException ( "Error: table " + tableName + " is a Result Table" ) ; } } }
if it is not