public void removeProcedure ( String procName , boolean ifExists ) throws VoltCompilerException { assert procName != null && ! procName . trim ( ) . isEmpty ( ) ; String shortName = deriveShortProcedureName ( procName ) ; if ( m_procedureMap . containsKey ( shortName ) ) { m_procedureMap . remove ( shortName ) ; } else if ( ! ifExists ) { throw m_compiler . new VoltCompilerException ( String . format ( "Dropped Procedure \"%s\" is not defined" , procName ) ) ; } }
Searches for and removes the Procedure provided in prior DDL statements