make a treat expression with a non-standard error code concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder
Expression function ( Expression arg0 , SequenceType arg1 , String arg2 ) { RoleLocator loc0 = new RoleLocator ( RoleLocator . TYPE_OP , "srini_string" , 0 ) ; loc0 . setErrorCode ( arg2 ) ; Expression loc1 = CardinalityChecker . makeCardinalityChecker ( arg0 , arg1 . getCardinality ( ) , loc0 ) ; return new ItemChecker ( loc1 , arg1 . getPrimaryType ( ) , loc0 ) ; }