rem: DWRAuthentication._batch = DWRAuthentication._cloneBatch(batch); var errorType = ex.type.substring(27); 
add: var errorType = ex.type.substring(DWRAuthentication._exceptionPackage.length); 
context: DWRAuthentication.authWarningHandler = function(batch, ex) {	if( batch == null 		|| typeof ex != "object" 		|| ex.type == null 		|| ex.type.indexOf("org.directwebremoting.auth.") != 0	) {		DWRAuthentication._dwrHandleBatchExeption(batch, ex);		return;	}		DWRAuthentication._batch = DWRAuthentication._cloneBatch(batch);	var errorType = ex.type.substring(27);	//alert("errorCode="+errorType);	switch( errorType ) {		case "InvalidSessionException":			if( DWRAuthentication._invalidSessionHandler(batch,ex) ) {				DWRAuthentication._replayBatch();			}			break;		case "AuthenticationRequiredException":			if( DWRAuthentication._authRequiredHandler(batch,ex) ) {				DWRAuthentication._replayBatch();			}			break;		case "AccessDeniedException":			if( DWRAuthentication._accessDeniedHandler(batch,ex) ) {				DWRAuthentication._replayBatch();			}			break;		default:			alert("Received unknown error code: '"+errorCode+"';"+errorCode.length);	}}
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/1688fb8da54ea8530617491fa31df7cafc0fc94f/auth.js/clean/java/org/directwebremoting/auth.js