question: protected synchronized void expire ( ) throws IllegalMonitorStateException { if ( owner == Thread . currentThread ( ) ) { expired = true ; } else { throw new IllegalMonitorStateException ( "The calling thread is not the owner of the lock!" ) ; } }
target:  Sets the status of the HeadTask to expired.