public String getWritableLocation ( ) { String writableLocation = getWsLocationAdmin ( ) . resolveString ( "${server.output.dir}/workarea/" + UUID . randomUUID ( ) + "/" ) ; if ( writableLocation == null ) { IOException ioe = new IOException ( TraceNLS . getFormattedMessage ( this . getClass ( ) , APIConstants . TRACE_BUNDLE_FILE_TRANSFER , "NO_WRITE_LOCATION" , null , "CWWKX0128E: There are no configured writable locations on the routing server." ) ) ; throw ErrorHelper . createRESTHandlerJsonException ( ioe , null , APIConstants . STATUS_BAD_REQUEST ) ; } return writableLocation ; }
Return a unique directory within the workarea directory