public void checkType ( JSField elem , int indir ) throws JMFSchemaViolationException { if ( ! equivFields ( element , elem ) || indir != indirect ) throw new JMFSchemaViolationException ( "Incorrect list element types" ) ; }
SchemaViolationException if not