question: public void substituteHeader ( int state , String header ) throws AuthLoginException { if ( debug . messageEnabled ( ) ) { debug . message ( "substituteHeader : state=" + state + ", header=" + header ) ; } if ( state > stateLength ) { throw new AuthLoginException ( bundleName , "invalidState" , new Object [ ] { new Integer ( state ) } ) ; } Callback [ ] ext = getCallback ( state ) ; if ( ext . length <= 0 ) { throw new AuthLoginException ( bundleName , "invalidCallbackIndex" , null ) ; } if ( ( header != null ) && ( header . length ( ) != 0 ) ) { PagePropertiesCallback pc = ( PagePropertiesCallback ) ( ( Callback [ ] ) internal . get ( state - 1 ) ) [ 0 ] ; pc . setHeader ( header ) ; } }
target:  Use this method to replace the header text from the XML file with new text. This method can be used multiple times on the same state replacing text with new text each time. Useful for modules that control their own error handling.